diff options
Diffstat (limited to 'src/main/cpp/V2C/vspec.pb.cc')
-rw-r--r-- | src/main/cpp/V2C/vspec.pb.cc | 87885 |
1 files changed, 87885 insertions, 0 deletions
diff --git a/src/main/cpp/V2C/vspec.pb.cc b/src/main/cpp/V2C/vspec.pb.cc new file mode 100644 index 0000000..7e7daf2 --- /dev/null +++ b/src/main/cpp/V2C/vspec.pb.cc @@ -0,0 +1,87885 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: V2C/vspec.proto + +#include "V2C/vspec.pb.h" + +#include <algorithm> + +#include <google/protobuf/io/coded_stream.h> +#include <google/protobuf/extension_set.h> +#include <google/protobuf/wire_format_lite.h> +#include <google/protobuf/descriptor.h> +#include <google/protobuf/generated_message_reflection.h> +#include <google/protobuf/reflection_ops.h> +#include <google/protobuf/wire_format.h> +// @@protoc_insertion_point(includes) +#include <google/protobuf/port_def.inc> +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<8> scc_info_VehicleADAS_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASABS_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASEBA_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASEBD_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleADASESC_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASTCS_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleAcceleration_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<7> scc_info_VehicleBody_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyHood_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyHorn_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<9> scc_info_VehicleBodyLights_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<9> scc_info_VehicleCabin_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoor_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinLights_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeat_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_VehicleChassis_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxle_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleConnectivity_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleDriver_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleExterior_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_VehicleOBD_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<8> scc_info_VehicleOBDO2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<8> scc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDStatus_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_VehiclePowertrain_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleService_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleTrailer_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_V2C_2fvspec_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleVersionVSS_V2C_2fvspec_2eproto; +namespace com { +namespace vehicle { +namespace messages { +class VehicleDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Vehicle> _instance; +} _Vehicle_default_instance_; +class VehicleVersionVSSDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleVersionVSS> _instance; +} _VehicleVersionVSS_default_instance_; +class VehicleVehicleIdentificationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleVehicleIdentification> _instance; +} _VehicleVehicleIdentification_default_instance_; +class VehicleLowVoltageBatteryDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleLowVoltageBattery> _instance; +} _VehicleLowVoltageBattery_default_instance_; +class VehicleAccelerationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleAcceleration> _instance; +} _VehicleAcceleration_default_instance_; +class VehicleAngularVelocityDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleAngularVelocity> _instance; +} _VehicleAngularVelocity_default_instance_; +class VehicleTrailerDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleTrailer> _instance; +} _VehicleTrailer_default_instance_; +class VehicleCurrentLocationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCurrentLocation> _instance; +} _VehicleCurrentLocation_default_instance_; +class VehicleCurrentLocationGNSSReceiverDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCurrentLocationGNSSReceiver> _instance; +} _VehicleCurrentLocationGNSSReceiver_default_instance_; +class VehicleCurrentLocationGNSSReceiverMountingPositionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCurrentLocationGNSSReceiverMountingPosition> _instance; +} _VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_; +class VehiclePowertrainDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrain> _instance; +} _VehiclePowertrain_default_instance_; +class VehiclePowertrainCombustionEngineDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainCombustionEngine> _instance; +} _VehiclePowertrainCombustionEngine_default_instance_; +class VehiclePowertrainCombustionEngineDieselExhaustFluidDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainCombustionEngineDieselExhaustFluid> _instance; +} _VehiclePowertrainCombustionEngineDieselExhaustFluid_default_instance_; +class VehiclePowertrainCombustionEngineDieselParticulateFilterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainCombustionEngineDieselParticulateFilter> _instance; +} _VehiclePowertrainCombustionEngineDieselParticulateFilter_default_instance_; +class VehiclePowertrainTransmissionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTransmission> _instance; +} _VehiclePowertrainTransmission_default_instance_; +class VehiclePowertrainElectricMotorDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainElectricMotor> _instance; +} _VehiclePowertrainElectricMotor_default_instance_; +class VehiclePowertrainTractionBatteryDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBattery> _instance; +} _VehiclePowertrainTractionBattery_default_instance_; +class VehiclePowertrainTractionBatteryTemperatureDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryTemperature> _instance; +} _VehiclePowertrainTractionBatteryTemperature_default_instance_; +class VehiclePowertrainTractionBatteryStateOfChargeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryStateOfCharge> _instance; +} _VehiclePowertrainTractionBatteryStateOfCharge_default_instance_; +class VehiclePowertrainTractionBatteryChargingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryCharging> _instance; +} _VehiclePowertrainTractionBatteryCharging_default_instance_; +class VehiclePowertrainTractionBatteryChargingMaximumChargingCurrentDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent> _instance; +} _VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_default_instance_; +class VehiclePowertrainTractionBatteryChargingChargeCurrentDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryChargingChargeCurrent> _instance; +} _VehiclePowertrainTractionBatteryChargingChargeCurrent_default_instance_; +class VehiclePowertrainTractionBatteryChargingChargeVoltageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryChargingChargeVoltage> _instance; +} _VehiclePowertrainTractionBatteryChargingChargeVoltage_default_instance_; +class VehiclePowertrainTractionBatteryChargingTimerDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryChargingTimer> _instance; +} _VehiclePowertrainTractionBatteryChargingTimer_default_instance_; +class VehiclePowertrainTractionBatteryDCDCDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainTractionBatteryDCDC> _instance; +} _VehiclePowertrainTractionBatteryDCDC_default_instance_; +class VehiclePowertrainFuelSystemDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehiclePowertrainFuelSystem> _instance; +} _VehiclePowertrainFuelSystem_default_instance_; +class VehicleBodyDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBody> _instance; +} _VehicleBody_default_instance_; +class VehicleBodyHoodDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyHood> _instance; +} _VehicleBodyHood_default_instance_; +class VehicleBodyTrunkDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyTrunk> _instance; +} _VehicleBodyTrunk_default_instance_; +class VehicleBodyTrunkFrontDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyTrunkFront> _instance; +} _VehicleBodyTrunkFront_default_instance_; +class VehicleBodyTrunkRearDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyTrunkRear> _instance; +} _VehicleBodyTrunkRear_default_instance_; +class VehicleBodyHornDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyHorn> _instance; +} _VehicleBodyHorn_default_instance_; +class VehicleBodyRaindetectionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyRaindetection> _instance; +} _VehicleBodyRaindetection_default_instance_; +class VehicleBodyWindshieldDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshield> _instance; +} _VehicleBodyWindshield_default_instance_; +class VehicleBodyWindshieldFrontDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldFront> _instance; +} _VehicleBodyWindshieldFront_default_instance_; +class VehicleBodyWindshieldFrontWipingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldFrontWiping> _instance; +} _VehicleBodyWindshieldFrontWiping_default_instance_; +class VehicleBodyWindshieldFrontWipingSystemDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldFrontWipingSystem> _instance; +} _VehicleBodyWindshieldFrontWipingSystem_default_instance_; +class VehicleBodyWindshieldFrontWasherFluidDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldFrontWasherFluid> _instance; +} _VehicleBodyWindshieldFrontWasherFluid_default_instance_; +class VehicleBodyWindshieldRearDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldRear> _instance; +} _VehicleBodyWindshieldRear_default_instance_; +class VehicleBodyWindshieldRearWipingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldRearWiping> _instance; +} _VehicleBodyWindshieldRearWiping_default_instance_; +class VehicleBodyWindshieldRearWipingSystemDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldRearWipingSystem> _instance; +} _VehicleBodyWindshieldRearWipingSystem_default_instance_; +class VehicleBodyWindshieldRearWasherFluidDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyWindshieldRearWasherFluid> _instance; +} _VehicleBodyWindshieldRearWasherFluid_default_instance_; +class VehicleBodyLightsDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLights> _instance; +} _VehicleBodyLights_default_instance_; +class VehicleBodyLightsBeamDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsBeam> _instance; +} _VehicleBodyLightsBeam_default_instance_; +class VehicleBodyLightsBeamLowDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsBeamLow> _instance; +} _VehicleBodyLightsBeamLow_default_instance_; +class VehicleBodyLightsBeamHighDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsBeamHigh> _instance; +} _VehicleBodyLightsBeamHigh_default_instance_; +class VehicleBodyLightsRunningDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsRunning> _instance; +} _VehicleBodyLightsRunning_default_instance_; +class VehicleBodyLightsBackupDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsBackup> _instance; +} _VehicleBodyLightsBackup_default_instance_; +class VehicleBodyLightsParkingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsParking> _instance; +} _VehicleBodyLightsParking_default_instance_; +class VehicleBodyLightsFogDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsFog> _instance; +} _VehicleBodyLightsFog_default_instance_; +class VehicleBodyLightsFogRearDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsFogRear> _instance; +} _VehicleBodyLightsFogRear_default_instance_; +class VehicleBodyLightsFogFrontDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsFogFront> _instance; +} _VehicleBodyLightsFogFront_default_instance_; +class VehicleBodyLightsLicensePlateDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsLicensePlate> _instance; +} _VehicleBodyLightsLicensePlate_default_instance_; +class VehicleBodyLightsBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsBrake> _instance; +} _VehicleBodyLightsBrake_default_instance_; +class VehicleBodyLightsHazardDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsHazard> _instance; +} _VehicleBodyLightsHazard_default_instance_; +class VehicleBodyLightsDirectionIndicatorDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsDirectionIndicator> _instance; +} _VehicleBodyLightsDirectionIndicator_default_instance_; +class VehicleBodyLightsDirectionIndicatorLeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsDirectionIndicatorLeft> _instance; +} _VehicleBodyLightsDirectionIndicatorLeft_default_instance_; +class VehicleBodyLightsDirectionIndicatorRightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyLightsDirectionIndicatorRight> _instance; +} _VehicleBodyLightsDirectionIndicatorRight_default_instance_; +class VehicleBodyMirrorsDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyMirrors> _instance; +} _VehicleBodyMirrors_default_instance_; +class VehicleBodyMirrorsLeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyMirrorsLeft> _instance; +} _VehicleBodyMirrorsLeft_default_instance_; +class VehicleBodyMirrorsRightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleBodyMirrorsRight> _instance; +} _VehicleBodyMirrorsRight_default_instance_; +class VehicleCabinDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabin> _instance; +} _VehicleCabin_default_instance_; +class VehicleCabinRearShadeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinRearShade> _instance; +} _VehicleCabinRearShade_default_instance_; +class VehicleCabinHVACDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVAC> _instance; +} _VehicleCabinHVAC_default_instance_; +class VehicleCabinHVACStationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStation> _instance; +} _VehicleCabinHVACStation_default_instance_; +class VehicleCabinHVACStationRow1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow1> _instance; +} _VehicleCabinHVACStationRow1_default_instance_; +class VehicleCabinHVACStationRow1LeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow1Left> _instance; +} _VehicleCabinHVACStationRow1Left_default_instance_; +class VehicleCabinHVACStationRow1RightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow1Right> _instance; +} _VehicleCabinHVACStationRow1Right_default_instance_; +class VehicleCabinHVACStationRow2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow2> _instance; +} _VehicleCabinHVACStationRow2_default_instance_; +class VehicleCabinHVACStationRow2LeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow2Left> _instance; +} _VehicleCabinHVACStationRow2Left_default_instance_; +class VehicleCabinHVACStationRow2RightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow2Right> _instance; +} _VehicleCabinHVACStationRow2Right_default_instance_; +class VehicleCabinHVACStationRow3DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow3> _instance; +} _VehicleCabinHVACStationRow3_default_instance_; +class VehicleCabinHVACStationRow3LeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow3Left> _instance; +} _VehicleCabinHVACStationRow3Left_default_instance_; +class VehicleCabinHVACStationRow3RightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow3Right> _instance; +} _VehicleCabinHVACStationRow3Right_default_instance_; +class VehicleCabinHVACStationRow4DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow4> _instance; +} _VehicleCabinHVACStationRow4_default_instance_; +class VehicleCabinHVACStationRow4LeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow4Left> _instance; +} _VehicleCabinHVACStationRow4Left_default_instance_; +class VehicleCabinHVACStationRow4RightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinHVACStationRow4Right> _instance; +} _VehicleCabinHVACStationRow4Right_default_instance_; +class VehicleCabinInfotainmentDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainment> _instance; +} _VehicleCabinInfotainment_default_instance_; +class VehicleCabinInfotainmentMediaDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainmentMedia> _instance; +} _VehicleCabinInfotainmentMedia_default_instance_; +class VehicleCabinInfotainmentMediaPlayedDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainmentMediaPlayed> _instance; +} _VehicleCabinInfotainmentMediaPlayed_default_instance_; +class VehicleCabinInfotainmentNavigationDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainmentNavigation> _instance; +} _VehicleCabinInfotainmentNavigation_default_instance_; +class VehicleCabinInfotainmentNavigationDestinationSetDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainmentNavigationDestinationSet> _instance; +} _VehicleCabinInfotainmentNavigationDestinationSet_default_instance_; +class VehicleCabinInfotainmentHMIDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainmentHMI> _instance; +} _VehicleCabinInfotainmentHMI_default_instance_; +class VehicleCabinInfotainmentSmartphoneProjectionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinInfotainmentSmartphoneProjection> _instance; +} _VehicleCabinInfotainmentSmartphoneProjection_default_instance_; +class VehicleCabinSunroofDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSunroof> _instance; +} _VehicleCabinSunroof_default_instance_; +class VehicleCabinSunroofShadeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSunroofShade> _instance; +} _VehicleCabinSunroofShade_default_instance_; +class VehicleCabinRearviewMirrorDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinRearviewMirror> _instance; +} _VehicleCabinRearviewMirror_default_instance_; +class VehicleCabinLightsDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinLights> _instance; +} _VehicleCabinLights_default_instance_; +class VehicleCabinLightsSpotlightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinLightsSpotlight> _instance; +} _VehicleCabinLightsSpotlight_default_instance_; +class VehicleCabinLightsSpotlightRow1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinLightsSpotlightRow1> _instance; +} _VehicleCabinLightsSpotlightRow1_default_instance_; +class VehicleCabinLightsSpotlightRow2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinLightsSpotlightRow2> _instance; +} _VehicleCabinLightsSpotlightRow2_default_instance_; +class VehicleCabinLightsSpotlightRow3DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinLightsSpotlightRow3> _instance; +} _VehicleCabinLightsSpotlightRow3_default_instance_; +class VehicleCabinLightsSpotlightRow4DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinLightsSpotlightRow4> _instance; +} _VehicleCabinLightsSpotlightRow4_default_instance_; +class VehicleCabinDoorDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoor> _instance; +} _VehicleCabinDoor_default_instance_; +class VehicleCabinDoorRow1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1> _instance; +} _VehicleCabinDoorRow1_default_instance_; +class VehicleCabinDoorRow1LeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1Left> _instance; +} _VehicleCabinDoorRow1Left_default_instance_; +class VehicleCabinDoorRow1LeftWindowDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1LeftWindow> _instance; +} _VehicleCabinDoorRow1LeftWindow_default_instance_; +class VehicleCabinDoorRow1LeftShadeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1LeftShade> _instance; +} _VehicleCabinDoorRow1LeftShade_default_instance_; +class VehicleCabinDoorRow1RightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1Right> _instance; +} _VehicleCabinDoorRow1Right_default_instance_; +class VehicleCabinDoorRow1RightWindowDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1RightWindow> _instance; +} _VehicleCabinDoorRow1RightWindow_default_instance_; +class VehicleCabinDoorRow1RightShadeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow1RightShade> _instance; +} _VehicleCabinDoorRow1RightShade_default_instance_; +class VehicleCabinDoorRow2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2> _instance; +} _VehicleCabinDoorRow2_default_instance_; +class VehicleCabinDoorRow2LeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2Left> _instance; +} _VehicleCabinDoorRow2Left_default_instance_; +class VehicleCabinDoorRow2LeftWindowDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2LeftWindow> _instance; +} _VehicleCabinDoorRow2LeftWindow_default_instance_; +class VehicleCabinDoorRow2LeftShadeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2LeftShade> _instance; +} _VehicleCabinDoorRow2LeftShade_default_instance_; +class VehicleCabinDoorRow2RightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2Right> _instance; +} _VehicleCabinDoorRow2Right_default_instance_; +class VehicleCabinDoorRow2RightWindowDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2RightWindow> _instance; +} _VehicleCabinDoorRow2RightWindow_default_instance_; +class VehicleCabinDoorRow2RightShadeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinDoorRow2RightShade> _instance; +} _VehicleCabinDoorRow2RightShade_default_instance_; +class VehicleCabinSeatDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeat> _instance; +} _VehicleCabinSeat_default_instance_; +class VehicleCabinSeatRow1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1> _instance; +} _VehicleCabinSeatRow1_default_instance_; +class VehicleCabinSeatRow1Pos1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1> _instance; +} _VehicleCabinSeatRow1Pos1_default_instance_; +class VehicleCabinSeatRow1Pos1OccupantDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1Occupant> _instance; +} _VehicleCabinSeatRow1Pos1Occupant_default_instance_; +class VehicleCabinSeatRow1Pos1OccupantIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1OccupantIdentifier> _instance; +} _VehicleCabinSeatRow1Pos1OccupantIdentifier_default_instance_; +class VehicleCabinSeatRow1Pos1BackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1Backrest> _instance; +} _VehicleCabinSeatRow1Pos1Backrest_default_instance_; +class VehicleCabinSeatRow1Pos1BackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1BackrestLumbar> _instance; +} _VehicleCabinSeatRow1Pos1BackrestLumbar_default_instance_; +class VehicleCabinSeatRow1Pos1BackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1BackrestSideBolster> _instance; +} _VehicleCabinSeatRow1Pos1BackrestSideBolster_default_instance_; +class VehicleCabinSeatRow1Pos1SeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1Seating> _instance; +} _VehicleCabinSeatRow1Pos1Seating_default_instance_; +class VehicleCabinSeatRow1Pos1HeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1Headrest> _instance; +} _VehicleCabinSeatRow1Pos1Headrest_default_instance_; +class VehicleCabinSeatRow1Pos1AirbagDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1Airbag> _instance; +} _VehicleCabinSeatRow1Pos1Airbag_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1Switch> _instance; +} _VehicleCabinSeatRow1Pos1Switch_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchBackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1SwitchBackrest> _instance; +} _VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchBackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1SwitchBackrestLumbar> _instance; +} _VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchBackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster> _instance; +} _VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchSeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1SwitchSeating> _instance; +} _VehicleCabinSeatRow1Pos1SwitchSeating_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchHeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1SwitchHeadrest> _instance; +} _VehicleCabinSeatRow1Pos1SwitchHeadrest_default_instance_; +class VehicleCabinSeatRow1Pos1SwitchMassageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos1SwitchMassage> _instance; +} _VehicleCabinSeatRow1Pos1SwitchMassage_default_instance_; +class VehicleCabinSeatRow1Pos2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2> _instance; +} _VehicleCabinSeatRow1Pos2_default_instance_; +class VehicleCabinSeatRow1Pos2OccupantDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2Occupant> _instance; +} _VehicleCabinSeatRow1Pos2Occupant_default_instance_; +class VehicleCabinSeatRow1Pos2OccupantIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2OccupantIdentifier> _instance; +} _VehicleCabinSeatRow1Pos2OccupantIdentifier_default_instance_; +class VehicleCabinSeatRow1Pos2BackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2Backrest> _instance; +} _VehicleCabinSeatRow1Pos2Backrest_default_instance_; +class VehicleCabinSeatRow1Pos2BackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2BackrestLumbar> _instance; +} _VehicleCabinSeatRow1Pos2BackrestLumbar_default_instance_; +class VehicleCabinSeatRow1Pos2BackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2BackrestSideBolster> _instance; +} _VehicleCabinSeatRow1Pos2BackrestSideBolster_default_instance_; +class VehicleCabinSeatRow1Pos2SeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2Seating> _instance; +} _VehicleCabinSeatRow1Pos2Seating_default_instance_; +class VehicleCabinSeatRow1Pos2HeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2Headrest> _instance; +} _VehicleCabinSeatRow1Pos2Headrest_default_instance_; +class VehicleCabinSeatRow1Pos2AirbagDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2Airbag> _instance; +} _VehicleCabinSeatRow1Pos2Airbag_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2Switch> _instance; +} _VehicleCabinSeatRow1Pos2Switch_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchBackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2SwitchBackrest> _instance; +} _VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchBackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2SwitchBackrestLumbar> _instance; +} _VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchBackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster> _instance; +} _VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchSeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2SwitchSeating> _instance; +} _VehicleCabinSeatRow1Pos2SwitchSeating_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchHeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2SwitchHeadrest> _instance; +} _VehicleCabinSeatRow1Pos2SwitchHeadrest_default_instance_; +class VehicleCabinSeatRow1Pos2SwitchMassageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos2SwitchMassage> _instance; +} _VehicleCabinSeatRow1Pos2SwitchMassage_default_instance_; +class VehicleCabinSeatRow1Pos3DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3> _instance; +} _VehicleCabinSeatRow1Pos3_default_instance_; +class VehicleCabinSeatRow1Pos3OccupantDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3Occupant> _instance; +} _VehicleCabinSeatRow1Pos3Occupant_default_instance_; +class VehicleCabinSeatRow1Pos3OccupantIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3OccupantIdentifier> _instance; +} _VehicleCabinSeatRow1Pos3OccupantIdentifier_default_instance_; +class VehicleCabinSeatRow1Pos3BackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3Backrest> _instance; +} _VehicleCabinSeatRow1Pos3Backrest_default_instance_; +class VehicleCabinSeatRow1Pos3BackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3BackrestLumbar> _instance; +} _VehicleCabinSeatRow1Pos3BackrestLumbar_default_instance_; +class VehicleCabinSeatRow1Pos3BackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3BackrestSideBolster> _instance; +} _VehicleCabinSeatRow1Pos3BackrestSideBolster_default_instance_; +class VehicleCabinSeatRow1Pos3SeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3Seating> _instance; +} _VehicleCabinSeatRow1Pos3Seating_default_instance_; +class VehicleCabinSeatRow1Pos3HeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3Headrest> _instance; +} _VehicleCabinSeatRow1Pos3Headrest_default_instance_; +class VehicleCabinSeatRow1Pos3AirbagDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3Airbag> _instance; +} _VehicleCabinSeatRow1Pos3Airbag_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3Switch> _instance; +} _VehicleCabinSeatRow1Pos3Switch_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchBackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3SwitchBackrest> _instance; +} _VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchBackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3SwitchBackrestLumbar> _instance; +} _VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchBackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster> _instance; +} _VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchSeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3SwitchSeating> _instance; +} _VehicleCabinSeatRow1Pos3SwitchSeating_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchHeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3SwitchHeadrest> _instance; +} _VehicleCabinSeatRow1Pos3SwitchHeadrest_default_instance_; +class VehicleCabinSeatRow1Pos3SwitchMassageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow1Pos3SwitchMassage> _instance; +} _VehicleCabinSeatRow1Pos3SwitchMassage_default_instance_; +class VehicleCabinSeatRow2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2> _instance; +} _VehicleCabinSeatRow2_default_instance_; +class VehicleCabinSeatRow2Pos1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1> _instance; +} _VehicleCabinSeatRow2Pos1_default_instance_; +class VehicleCabinSeatRow2Pos1OccupantDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1Occupant> _instance; +} _VehicleCabinSeatRow2Pos1Occupant_default_instance_; +class VehicleCabinSeatRow2Pos1OccupantIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1OccupantIdentifier> _instance; +} _VehicleCabinSeatRow2Pos1OccupantIdentifier_default_instance_; +class VehicleCabinSeatRow2Pos1BackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1Backrest> _instance; +} _VehicleCabinSeatRow2Pos1Backrest_default_instance_; +class VehicleCabinSeatRow2Pos1BackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1BackrestLumbar> _instance; +} _VehicleCabinSeatRow2Pos1BackrestLumbar_default_instance_; +class VehicleCabinSeatRow2Pos1BackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1BackrestSideBolster> _instance; +} _VehicleCabinSeatRow2Pos1BackrestSideBolster_default_instance_; +class VehicleCabinSeatRow2Pos1SeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1Seating> _instance; +} _VehicleCabinSeatRow2Pos1Seating_default_instance_; +class VehicleCabinSeatRow2Pos1HeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1Headrest> _instance; +} _VehicleCabinSeatRow2Pos1Headrest_default_instance_; +class VehicleCabinSeatRow2Pos1AirbagDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1Airbag> _instance; +} _VehicleCabinSeatRow2Pos1Airbag_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1Switch> _instance; +} _VehicleCabinSeatRow2Pos1Switch_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchBackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1SwitchBackrest> _instance; +} _VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchBackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1SwitchBackrestLumbar> _instance; +} _VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchBackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster> _instance; +} _VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchSeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1SwitchSeating> _instance; +} _VehicleCabinSeatRow2Pos1SwitchSeating_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchHeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1SwitchHeadrest> _instance; +} _VehicleCabinSeatRow2Pos1SwitchHeadrest_default_instance_; +class VehicleCabinSeatRow2Pos1SwitchMassageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos1SwitchMassage> _instance; +} _VehicleCabinSeatRow2Pos1SwitchMassage_default_instance_; +class VehicleCabinSeatRow2Pos2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2> _instance; +} _VehicleCabinSeatRow2Pos2_default_instance_; +class VehicleCabinSeatRow2Pos2OccupantDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2Occupant> _instance; +} _VehicleCabinSeatRow2Pos2Occupant_default_instance_; +class VehicleCabinSeatRow2Pos2OccupantIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2OccupantIdentifier> _instance; +} _VehicleCabinSeatRow2Pos2OccupantIdentifier_default_instance_; +class VehicleCabinSeatRow2Pos2BackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2Backrest> _instance; +} _VehicleCabinSeatRow2Pos2Backrest_default_instance_; +class VehicleCabinSeatRow2Pos2BackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2BackrestLumbar> _instance; +} _VehicleCabinSeatRow2Pos2BackrestLumbar_default_instance_; +class VehicleCabinSeatRow2Pos2BackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2BackrestSideBolster> _instance; +} _VehicleCabinSeatRow2Pos2BackrestSideBolster_default_instance_; +class VehicleCabinSeatRow2Pos2SeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2Seating> _instance; +} _VehicleCabinSeatRow2Pos2Seating_default_instance_; +class VehicleCabinSeatRow2Pos2HeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2Headrest> _instance; +} _VehicleCabinSeatRow2Pos2Headrest_default_instance_; +class VehicleCabinSeatRow2Pos2AirbagDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2Airbag> _instance; +} _VehicleCabinSeatRow2Pos2Airbag_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2Switch> _instance; +} _VehicleCabinSeatRow2Pos2Switch_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchBackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2SwitchBackrest> _instance; +} _VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchBackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2SwitchBackrestLumbar> _instance; +} _VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchBackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster> _instance; +} _VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchSeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2SwitchSeating> _instance; +} _VehicleCabinSeatRow2Pos2SwitchSeating_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchHeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2SwitchHeadrest> _instance; +} _VehicleCabinSeatRow2Pos2SwitchHeadrest_default_instance_; +class VehicleCabinSeatRow2Pos2SwitchMassageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos2SwitchMassage> _instance; +} _VehicleCabinSeatRow2Pos2SwitchMassage_default_instance_; +class VehicleCabinSeatRow2Pos3DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3> _instance; +} _VehicleCabinSeatRow2Pos3_default_instance_; +class VehicleCabinSeatRow2Pos3OccupantDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3Occupant> _instance; +} _VehicleCabinSeatRow2Pos3Occupant_default_instance_; +class VehicleCabinSeatRow2Pos3OccupantIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3OccupantIdentifier> _instance; +} _VehicleCabinSeatRow2Pos3OccupantIdentifier_default_instance_; +class VehicleCabinSeatRow2Pos3BackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3Backrest> _instance; +} _VehicleCabinSeatRow2Pos3Backrest_default_instance_; +class VehicleCabinSeatRow2Pos3BackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3BackrestLumbar> _instance; +} _VehicleCabinSeatRow2Pos3BackrestLumbar_default_instance_; +class VehicleCabinSeatRow2Pos3BackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3BackrestSideBolster> _instance; +} _VehicleCabinSeatRow2Pos3BackrestSideBolster_default_instance_; +class VehicleCabinSeatRow2Pos3SeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3Seating> _instance; +} _VehicleCabinSeatRow2Pos3Seating_default_instance_; +class VehicleCabinSeatRow2Pos3HeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3Headrest> _instance; +} _VehicleCabinSeatRow2Pos3Headrest_default_instance_; +class VehicleCabinSeatRow2Pos3AirbagDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3Airbag> _instance; +} _VehicleCabinSeatRow2Pos3Airbag_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3Switch> _instance; +} _VehicleCabinSeatRow2Pos3Switch_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchBackrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3SwitchBackrest> _instance; +} _VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchBackrestLumbarDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3SwitchBackrestLumbar> _instance; +} _VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchBackrestSideBolsterDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster> _instance; +} _VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchSeatingDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3SwitchSeating> _instance; +} _VehicleCabinSeatRow2Pos3SwitchSeating_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchHeadrestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3SwitchHeadrest> _instance; +} _VehicleCabinSeatRow2Pos3SwitchHeadrest_default_instance_; +class VehicleCabinSeatRow2Pos3SwitchMassageDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinSeatRow2Pos3SwitchMassage> _instance; +} _VehicleCabinSeatRow2Pos3SwitchMassage_default_instance_; +class VehicleCabinConvertibleDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleCabinConvertible> _instance; +} _VehicleCabinConvertible_default_instance_; +class VehicleADASDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADAS> _instance; +} _VehicleADAS_default_instance_; +class VehicleADASCruiseControlDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASCruiseControl> _instance; +} _VehicleADASCruiseControl_default_instance_; +class VehicleADASLaneDepartureDetectionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASLaneDepartureDetection> _instance; +} _VehicleADASLaneDepartureDetection_default_instance_; +class VehicleADASObstacleDetectionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASObstacleDetection> _instance; +} _VehicleADASObstacleDetection_default_instance_; +class VehicleADASABSDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASABS> _instance; +} _VehicleADASABS_default_instance_; +class VehicleADASTCSDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASTCS> _instance; +} _VehicleADASTCS_default_instance_; +class VehicleADASESCDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASESC> _instance; +} _VehicleADASESC_default_instance_; +class VehicleADASESCRoadFrictionDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASESCRoadFriction> _instance; +} _VehicleADASESCRoadFriction_default_instance_; +class VehicleADASEBDDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASEBD> _instance; +} _VehicleADASEBD_default_instance_; +class VehicleADASEBADefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleADASEBA> _instance; +} _VehicleADASEBA_default_instance_; +class VehicleChassisDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassis> _instance; +} _VehicleChassis_default_instance_; +class VehicleChassisAxleDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxle> _instance; +} _VehicleChassisAxle_default_instance_; +class VehicleChassisAxleRow1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1> _instance; +} _VehicleChassisAxleRow1_default_instance_; +class VehicleChassisAxleRow1WheelDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1Wheel> _instance; +} _VehicleChassisAxleRow1Wheel_default_instance_; +class VehicleChassisAxleRow1WheelLeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1WheelLeft> _instance; +} _VehicleChassisAxleRow1WheelLeft_default_instance_; +class VehicleChassisAxleRow1WheelLeftBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1WheelLeftBrake> _instance; +} _VehicleChassisAxleRow1WheelLeftBrake_default_instance_; +class VehicleChassisAxleRow1WheelLeftTireDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1WheelLeftTire> _instance; +} _VehicleChassisAxleRow1WheelLeftTire_default_instance_; +class VehicleChassisAxleRow1WheelRightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1WheelRight> _instance; +} _VehicleChassisAxleRow1WheelRight_default_instance_; +class VehicleChassisAxleRow1WheelRightBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1WheelRightBrake> _instance; +} _VehicleChassisAxleRow1WheelRightBrake_default_instance_; +class VehicleChassisAxleRow1WheelRightTireDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow1WheelRightTire> _instance; +} _VehicleChassisAxleRow1WheelRightTire_default_instance_; +class VehicleChassisAxleRow2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2> _instance; +} _VehicleChassisAxleRow2_default_instance_; +class VehicleChassisAxleRow2WheelDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2Wheel> _instance; +} _VehicleChassisAxleRow2Wheel_default_instance_; +class VehicleChassisAxleRow2WheelLeftDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2WheelLeft> _instance; +} _VehicleChassisAxleRow2WheelLeft_default_instance_; +class VehicleChassisAxleRow2WheelLeftBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2WheelLeftBrake> _instance; +} _VehicleChassisAxleRow2WheelLeftBrake_default_instance_; +class VehicleChassisAxleRow2WheelLeftTireDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2WheelLeftTire> _instance; +} _VehicleChassisAxleRow2WheelLeftTire_default_instance_; +class VehicleChassisAxleRow2WheelRightDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2WheelRight> _instance; +} _VehicleChassisAxleRow2WheelRight_default_instance_; +class VehicleChassisAxleRow2WheelRightBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2WheelRightBrake> _instance; +} _VehicleChassisAxleRow2WheelRightBrake_default_instance_; +class VehicleChassisAxleRow2WheelRightTireDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAxleRow2WheelRightTire> _instance; +} _VehicleChassisAxleRow2WheelRightTire_default_instance_; +class VehicleChassisParkingBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisParkingBrake> _instance; +} _VehicleChassisParkingBrake_default_instance_; +class VehicleChassisSteeringWheelDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisSteeringWheel> _instance; +} _VehicleChassisSteeringWheel_default_instance_; +class VehicleChassisAcceleratorDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisAccelerator> _instance; +} _VehicleChassisAccelerator_default_instance_; +class VehicleChassisBrakeDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleChassisBrake> _instance; +} _VehicleChassisBrake_default_instance_; +class VehicleOBDDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBD> _instance; +} _VehicleOBD_default_instance_; +class VehicleOBDStatusDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDStatus> _instance; +} _VehicleOBDStatus_default_instance_; +class VehicleOBDO2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2> _instance; +} _VehicleOBDO2_default_instance_; +class VehicleOBDO2Sensor1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor1> _instance; +} _VehicleOBDO2Sensor1_default_instance_; +class VehicleOBDO2Sensor2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor2> _instance; +} _VehicleOBDO2Sensor2_default_instance_; +class VehicleOBDO2Sensor3DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor3> _instance; +} _VehicleOBDO2Sensor3_default_instance_; +class VehicleOBDO2Sensor4DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor4> _instance; +} _VehicleOBDO2Sensor4_default_instance_; +class VehicleOBDO2Sensor5DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor5> _instance; +} _VehicleOBDO2Sensor5_default_instance_; +class VehicleOBDO2Sensor6DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor6> _instance; +} _VehicleOBDO2Sensor6_default_instance_; +class VehicleOBDO2Sensor7DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor7> _instance; +} _VehicleOBDO2Sensor7_default_instance_; +class VehicleOBDO2Sensor8DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2Sensor8> _instance; +} _VehicleOBDO2Sensor8_default_instance_; +class VehicleOBDO2WRDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WR> _instance; +} _VehicleOBDO2WR_default_instance_; +class VehicleOBDO2WRSensor1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor1> _instance; +} _VehicleOBDO2WRSensor1_default_instance_; +class VehicleOBDO2WRSensor2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor2> _instance; +} _VehicleOBDO2WRSensor2_default_instance_; +class VehicleOBDO2WRSensor3DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor3> _instance; +} _VehicleOBDO2WRSensor3_default_instance_; +class VehicleOBDO2WRSensor4DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor4> _instance; +} _VehicleOBDO2WRSensor4_default_instance_; +class VehicleOBDO2WRSensor5DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor5> _instance; +} _VehicleOBDO2WRSensor5_default_instance_; +class VehicleOBDO2WRSensor6DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor6> _instance; +} _VehicleOBDO2WRSensor6_default_instance_; +class VehicleOBDO2WRSensor7DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor7> _instance; +} _VehicleOBDO2WRSensor7_default_instance_; +class VehicleOBDO2WRSensor8DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDO2WRSensor8> _instance; +} _VehicleOBDO2WRSensor8_default_instance_; +class VehicleOBDCatalystDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDCatalyst> _instance; +} _VehicleOBDCatalyst_default_instance_; +class VehicleOBDCatalystBank1DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDCatalystBank1> _instance; +} _VehicleOBDCatalystBank1_default_instance_; +class VehicleOBDCatalystBank2DefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDCatalystBank2> _instance; +} _VehicleOBDCatalystBank2_default_instance_; +class VehicleOBDDriveCycleStatusDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleOBDDriveCycleStatus> _instance; +} _VehicleOBDDriveCycleStatus_default_instance_; +class VehicleDriverDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleDriver> _instance; +} _VehicleDriver_default_instance_; +class VehicleDriverIdentifierDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleDriverIdentifier> _instance; +} _VehicleDriverIdentifier_default_instance_; +class VehicleExteriorDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleExterior> _instance; +} _VehicleExterior_default_instance_; +class VehicleServiceDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleService> _instance; +} _VehicleService_default_instance_; +class VehicleConnectivityDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<VehicleConnectivity> _instance; +} _VehicleConnectivity_default_instance_; +} // namespace messages +} // namespace vehicle +} // namespace com +static void InitDefaultsscc_info_Vehicle_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_Vehicle_default_instance_; + new (ptr) ::com::vehicle::messages::Vehicle(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::Vehicle::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<17> scc_info_Vehicle_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 17, 0, InitDefaultsscc_info_Vehicle_V2C_2fvspec_2eproto}, { + &scc_info_VehicleVersionVSS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto.base, + &scc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto.base, + &scc_info_VehicleAcceleration_V2C_2fvspec_2eproto.base, + &scc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto.base, + &scc_info_VehicleTrailer_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrain_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBody_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabin_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADAS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassis_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBD_V2C_2fvspec_2eproto.base, + &scc_info_VehicleDriver_V2C_2fvspec_2eproto.base, + &scc_info_VehicleExterior_V2C_2fvspec_2eproto.base, + &scc_info_VehicleService_V2C_2fvspec_2eproto.base, + &scc_info_VehicleConnectivity_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleADAS_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADAS_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADAS(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADAS::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<8> scc_info_VehicleADAS_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 8, 0, InitDefaultsscc_info_VehicleADAS_V2C_2fvspec_2eproto}, { + &scc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASABS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASTCS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASESC_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASEBD_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASEBA_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleADASABS_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASABS_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASABS(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASABS::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASABS_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASABS_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASCruiseControl_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASCruiseControl(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASCruiseControl::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASEBA_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASEBA_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASEBA(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASEBA::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASEBA_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASEBA_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASEBD_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASEBD_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASEBD(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASEBD::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASEBD_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASEBD_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASESC_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASESC_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASESC(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASESC::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleADASESC_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleADASESC_V2C_2fvspec_2eproto}, { + &scc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASESCRoadFriction_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASESCRoadFriction(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASESCRoadFriction::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASLaneDepartureDetection_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASLaneDepartureDetection(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASLaneDepartureDetection::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASObstacleDetection_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASObstacleDetection(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASObstacleDetection::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleADASTCS_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleADASTCS_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleADASTCS(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleADASTCS::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleADASTCS_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleADASTCS_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleAcceleration_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleAcceleration_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleAcceleration(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleAcceleration::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleAcceleration_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleAcceleration_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleAngularVelocity_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleAngularVelocity(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleAngularVelocity::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBody_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBody_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBody(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBody::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<7> scc_info_VehicleBody_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 7, 0, InitDefaultsscc_info_VehicleBody_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyHood_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyHorn_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLights_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyHood_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyHood_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyHood(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyHood::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyHood_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyHood_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyHorn_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyHorn_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyHorn(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyHorn::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyHorn_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyHorn_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLights_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLights_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLights(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLights::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<9> scc_info_VehicleBodyLights_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 9, 0, InitDefaultsscc_info_VehicleBodyLights_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsBackup_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsBackup(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsBackup::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsBeam_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsBeam(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsBeam::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsBeamHigh_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsBeamHigh(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsBeamHigh::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsBeamLow_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsBeamLow(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsBeamLow::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsDirectionIndicator_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsDirectionIndicatorLeft_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsDirectionIndicatorRight_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsFog_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsFog(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsFog::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsFogFront_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsFogFront(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsFogFront::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsFogRear_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsFogRear(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsFogRear::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsHazard_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsHazard(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsHazard::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsLicensePlate_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsLicensePlate(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsLicensePlate::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsParking_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsParking(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsParking::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyLightsRunning_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyLightsRunning(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyLightsRunning::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyMirrors_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyMirrors(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyMirrors::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyMirrorsLeft_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyMirrorsLeft(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyMirrorsLeft::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyMirrorsRight_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyMirrorsRight(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyMirrorsRight::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyRaindetection_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyRaindetection(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyRaindetection::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyTrunk_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyTrunk(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyTrunk::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyTrunkFront_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyTrunkFront(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyTrunkFront::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyTrunkRear_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyTrunkRear(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyTrunkRear::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshield_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshield(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshield::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldFront_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldFront(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldFront::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldFrontWasherFluid_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldFrontWiping_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldFrontWipingSystem_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldRear_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldRear(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldRear::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldRearWasherFluid_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldRearWiping_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldRearWiping(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldRearWiping::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto}, { + &scc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleBodyWindshieldRearWipingSystem_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabin_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabin_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabin(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabin::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<9> scc_info_VehicleCabin_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 9, 0, InitDefaultsscc_info_VehicleCabin_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLights_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoor_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeat_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinConvertible_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinConvertible(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinConvertible::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoor_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoor_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoor(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoor::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoor_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoor_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1Left_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1Left(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1Left::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1LeftShade_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1LeftWindow_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1Right_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1Right(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1Right::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1RightShade_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1RightShade(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1RightShade::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow1RightWindow_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2Left_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2Left(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2Left::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2LeftShade_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2LeftWindow_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2Right_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2Right(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2Right::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2RightShade_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2RightShade(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2RightShade::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinDoorRow2RightWindow_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVAC_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVAC(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVAC::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStation_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStation(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStation::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow1Left_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow1Left(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow1Left::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow1Right_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow1Right(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow1Right::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow2Left_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow2Left(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow2Left::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow2Right_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow2Right(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow2Right::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow3_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow3(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow3::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow3Left_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow3Left(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow3Left::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow3Right_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow3Right(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow3Right::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow4_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow4(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow4::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow4Left_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow4Left(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow4Left::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinHVACStationRow4Right_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinHVACStationRow4Right(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinHVACStationRow4Right::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainment_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainment(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainment::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainmentHMI_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainmentHMI(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainmentHMI::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainmentMedia_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainmentMedia(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainmentMedia::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainmentMediaPlayed_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainmentNavigation_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainmentNavigation(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainmentNavigation::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainmentNavigationDestinationSet_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinInfotainmentSmartphoneProjection_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinLights_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinLights_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinLights(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinLights::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinLights_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinLights_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinLightsSpotlight_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinLightsSpotlight(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinLightsSpotlight::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinLightsSpotlightRow1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinLightsSpotlightRow2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinLightsSpotlightRow3_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinLightsSpotlightRow4_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinRearShade_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinRearShade(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinRearShade::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinRearviewMirror_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinRearviewMirror(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinRearviewMirror::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeat_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeat_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeat(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeat::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeat_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeat_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Airbag_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Backrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1BackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1BackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Headrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Occupant_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1OccupantIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Seating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Switch_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchHeadrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchMassage_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchSeating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Airbag_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Backrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2BackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2BackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Headrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Occupant_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2OccupantIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Seating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Switch_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchHeadrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchMassage_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchSeating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Airbag_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Backrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3BackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3BackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Headrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Occupant_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3OccupantIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Seating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Switch_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchHeadrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchMassage_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchSeating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<3> scc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 3, 0, InitDefaultsscc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Airbag_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Backrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1BackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1BackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Headrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Occupant_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1OccupantIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Seating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Switch_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchHeadrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchMassage_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchSeating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Airbag_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Backrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2BackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2BackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Headrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Occupant_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2OccupantIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Seating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Switch_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchHeadrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchMassage_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchSeating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<6> scc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 6, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Airbag_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Backrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3BackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3BackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Headrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Occupant_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3OccupantIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Seating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Switch_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchHeadrest_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchMassage_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchSeating_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSunroof_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSunroof(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSunroof::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCabinSunroofShade_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCabinSunroofShade(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCabinSunroofShade::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassis_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassis_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassis(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassis::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_VehicleChassis_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 5, 0, InitDefaultsscc_info_VehicleChassis_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxle_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisBrake_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAccelerator_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAccelerator(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAccelerator::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxle_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxle_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxle(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxle::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxle_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxle_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1Wheel_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1Wheel(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1Wheel::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeft_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeftBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeftTire_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1WheelRight_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1WheelRightBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow1WheelRightTire_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2Wheel_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2Wheel(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2Wheel::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeft_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeftBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeftTire_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2WheelRight_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto}, { + &scc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2WheelRightBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisAxleRow2WheelRightTire_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisParkingBrake_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisParkingBrake(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisParkingBrake::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleChassisSteeringWheel_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleChassisSteeringWheel(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleChassisSteeringWheel::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleConnectivity_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleConnectivity_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleConnectivity(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleConnectivity::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleConnectivity_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleConnectivity_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCurrentLocation_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCurrentLocation(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCurrentLocation::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCurrentLocationGNSSReceiver_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto}, { + &scc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleDriver_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleDriver_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleDriver(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleDriver::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_VehicleDriver_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, 0, InitDefaultsscc_info_VehicleDriver_V2C_2fvspec_2eproto}, { + &scc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleDriverIdentifier_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleDriverIdentifier(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleDriverIdentifier::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleExterior_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleExterior_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleExterior(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleExterior::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleExterior_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleExterior_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleLowVoltageBattery_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleLowVoltageBattery(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleLowVoltageBattery::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBD_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBD_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBD(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBD::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_VehicleOBD_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 5, 0, InitDefaultsscc_info_VehicleOBD_V2C_2fvspec_2eproto}, { + &scc_info_VehicleOBDStatus_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDCatalyst_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDCatalyst(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDCatalyst::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto}, { + &scc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDCatalystBank1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDCatalystBank1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDCatalystBank1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDCatalystBank2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDCatalystBank2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDCatalystBank2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDDriveCycleStatus_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDDriveCycleStatus(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDDriveCycleStatus::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<8> scc_info_VehicleOBDO2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 8, 0, InitDefaultsscc_info_VehicleOBDO2_V2C_2fvspec_2eproto}, { + &scc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor3_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor3(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor3::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor4_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor4(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor4::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor5_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor5(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor5::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor6_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor6(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor6::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor7_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor7(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor7::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2Sensor8_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2Sensor8(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2Sensor8::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WR_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WR(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WR::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<8> scc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 8, 0, InitDefaultsscc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto}, { + &scc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor1_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor1(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor1::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor2_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor2(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor2::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor3_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor3(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor3::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor4_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor4(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor4::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor5_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor5(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor5::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor6_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor6(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor6::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor7_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor7(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor7::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDO2WRSensor8_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDO2WRSensor8(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDO2WRSensor8::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleOBDStatus_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleOBDStatus_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleOBDStatus(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleOBDStatus::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleOBDStatus_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleOBDStatus_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrain_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrain_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrain(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrain::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<5> scc_info_VehiclePowertrain_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 5, 0, InitDefaultsscc_info_VehiclePowertrain_V2C_2fvspec_2eproto}, { + &scc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainCombustionEngine_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainCombustionEngine(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainCombustionEngine::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, 0, InitDefaultsscc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto}, { + &scc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainCombustionEngineDieselExhaustFluid_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainCombustionEngineDieselParticulateFilter_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainElectricMotor_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainElectricMotor(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainElectricMotor::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainFuelSystem_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainFuelSystem(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainFuelSystem::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBattery_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBattery(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBattery::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto}, { + &scc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryCharging_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<4> scc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 4, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto}, { + &scc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto.base,}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingChargeCurrent_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingChargeVoltage_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingTimer_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryDCDC_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryStateOfCharge_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTractionBatteryTemperature_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehiclePowertrainTransmission_default_instance_; + new (ptr) ::com::vehicle::messages::VehiclePowertrainTransmission(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehiclePowertrainTransmission::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleService_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleService_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleService(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleService::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleService_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleService_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleTrailer_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleTrailer_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleTrailer(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleTrailer::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleTrailer_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleTrailer_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleVehicleIdentification_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleVehicleIdentification(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleVehicleIdentification::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto}, {}}; + +static void InitDefaultsscc_info_VehicleVersionVSS_V2C_2fvspec_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::com::vehicle::messages::_VehicleVersionVSS_default_instance_; + new (ptr) ::com::vehicle::messages::VehicleVersionVSS(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::com::vehicle::messages::VehicleVersionVSS::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_VehicleVersionVSS_V2C_2fvspec_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, 0, InitDefaultsscc_info_VehicleVersionVSS_V2C_2fvspec_2eproto}, {}}; + +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_V2C_2fvspec_2eproto[269]; +static constexpr ::PROTOBUF_NAMESPACE_ID::EnumDescriptor const** file_level_enum_descriptors_V2C_2fvspec_2eproto = nullptr; +static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_V2C_2fvspec_2eproto = nullptr; + +const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_V2C_2fvspec_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, versionvss_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, vehicleidentification_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, lowvoltagesystemstate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, lowvoltagebattery_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, speed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, travelleddistance_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, tripmeterreading_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, isbrokendown_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, ismoving_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, averagespeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, acceleration_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, angularvelocity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, roofload_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, cargovolume_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, emissionsco2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, currentoverallweight_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, curbweight_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, grossweight_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, maxtowweight_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, maxtowballweight_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, length_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, width_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, trailer_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, currentlocation_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, powertrain_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, body_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, cabin_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, adas_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, chassis_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, obd_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, driver_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, exterior_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, service_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::Vehicle, connectivity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVersionVSS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVersionVSS, major_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVersionVSS, minor_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVersionVSS, patch_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVersionVSS, label_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vin_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, wmi_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, brand_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, model_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, year_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, acrisscode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, bodytype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, datevehiclefirstregistered_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, meetsemissionstandard_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, productiondate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, purchasedate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vehiclemodeldate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vehicleconfiguration_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vehicleseatingcapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vehiclespecialusage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vehicleinteriorcolor_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, vehicleinteriortype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleVehicleIdentification, knownvehicledamages_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleLowVoltageBattery, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleLowVoltageBattery, nominalvoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleLowVoltageBattery, nominalcapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleLowVoltageBattery, currentvoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleLowVoltageBattery, currentcurrent_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAcceleration, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAcceleration, longitudinal_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAcceleration, lateral_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAcceleration, vertical_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAngularVelocity, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAngularVelocity, roll_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAngularVelocity, pitch_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleAngularVelocity, yaw_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleTrailer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleTrailer, isconnected_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, timestamp_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, latitude_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, longitude_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, heading_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, horizontalaccuracy_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, altitude_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, verticalaccuracy_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocation, gnssreceiver_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver, fixtype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver, mountingposition_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition, x_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition, y_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition, z_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, accumulatedbrakingenergy_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, range_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, type_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, combustionengine_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, transmission_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, electricmotor_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, tractionbattery_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrain, fuelsystem_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, enginecode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, displacement_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, strokelength_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, bore_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, configuration_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, numberofcylinders_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, numberofvalvespercylinder_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, compressionratio_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, engineoilcapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, enginecoolantcapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, maxpower_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, maxtorque_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, aspirationtype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, engineoillevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, oilliferemaining_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, isrunning_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, speed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, enginehours_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, idlehours_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, ect_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, eot_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, map_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, maf_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, tps_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, eop_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, power_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, torque_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, dieselexhaustfluid_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngine, dieselparticulatefilter_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid, capacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid, level_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid, range_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid, islevellow_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter, inlettemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter, outlettemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter, deltapressure_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, type_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, gearcount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, drivetype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, travelleddistance_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, currentgear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, selectedgear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, isparklockengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, islowrangeengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, iselectricalpowertrainengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, performancemode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, gearchangemode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, clutchengagement_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, clutchwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, difflockfrontengagement_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, difflockrearengagement_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTransmission, torquedistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, enginecode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, maxpower_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, maxtorque_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, maxregenpower_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, maxregentorque_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, speed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, coolanttemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, power_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainElectricMotor, torque_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, id_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, productiondate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, ispowerconnected_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, isgroundconnected_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, grosscapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, netcapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, stateofhealth_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, stateofcharge_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, nominalvoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, maxvoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, currentvoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, currentcurrent_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, currentpower_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, accumulatedchargedenergy_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, accumulatedconsumedenergy_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, accumulatedchargedthroughput_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, accumulatedconsumedthroughput_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, powerloss_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, range_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, charging_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBattery, dcdc_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature, average_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature, min_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature, max_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge, current_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge, displayed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, chargelimit_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, maximumchargingcurrent_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, chargeportflap_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, ischargingcableconnected_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, ischargingcablelocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, chargeplugtype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, mode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, ischarging_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, isdischarging_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, startstopcharging_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, chargecurrent_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, chargevoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, powerloss_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, chargerate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, timetocomplete_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging, timer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, dc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, phase1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, phase2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent, phase3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent, dc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent, phase1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent, phase2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent, phase3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage, dc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage, phase1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage, phase2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage, phase3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer, mode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer, time_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC, powerloss_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC, temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, supportedfueltypes_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, supportedfuel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, hybridtype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, tankcapacity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, level_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, range_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, instantconsumption_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, averageconsumption_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, consumptionsincestart_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, timesincestart_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, isenginestopstartenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehiclePowertrainFuelSystem, isfuellevellow_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, bodytype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, refuelposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, hood_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, trunk_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, horn_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, raindetection_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, windshield_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, lights_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, mirrors_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBody, rearmainspoilerposition_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyHood, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyHood, isopen_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunk, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunk, front_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunk, rear_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunkFront, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunkFront, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunkFront, islocked_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunkRear, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunkRear, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyTrunkRear, islocked_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyHorn, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyHorn, isactive_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyRaindetection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyRaindetection, intensity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshield, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshield, front_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshield, rear_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFront, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFront, wiping_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFront, isheatingon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFront, washerfluid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping, mode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping, intensity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping, system_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping, wiperwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping, iswipersworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, mode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, frequency_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, targetposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, actualposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, drivecurrent_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, iswiping_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, isendingwipecycle_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, iswipererror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, ispositionreached_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, isblocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem, isoverheated_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid, islevellow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRear, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRear, wiping_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRear, isheatingon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRear, washerfluid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWiping, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWiping, mode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWiping, intensity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWiping, system_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWiping, wiperwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWiping, iswipersworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, mode_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, frequency_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, targetposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, actualposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, drivecurrent_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, iswiping_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, isendingwipecycle_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, iswipererror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, ispositionreached_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, isblocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem, isoverheated_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid, islevellow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid, level_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, lightswitch_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, ishighbeamswitchon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, beam_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, running_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, backup_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, parking_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, fog_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, licenseplate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, brake_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, hazard_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLights, directionindicator_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeam, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeam, low_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeam, high_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeamLow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeamLow, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeamLow, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeamHigh, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeamHigh, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBeamHigh, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsRunning, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsRunning, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsRunning, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBackup, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBackup, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBackup, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsParking, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsParking, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsParking, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFog, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFog, rear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFog, front_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFogRear, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFogRear, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFogRear, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFogFront, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFogFront, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsFogFront, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsLicensePlate, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsLicensePlate, ison_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsLicensePlate, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBrake, isactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsBrake, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsHazard, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsHazard, issignaling_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsHazard, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicator, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicator, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicator, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft, issignaling_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight, issignaling_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight, isdefect_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrors, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrors, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrors, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsLeft, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsLeft, pan_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsLeft, isheatingon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsRight, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsRight, pan_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleBodyMirrorsRight, isheatingon_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, rearshade_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, hvac_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, infotainment_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, sunroof_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, rearviewmirror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, lights_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, door_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, doorcount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, seat_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, driverposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, seatrowcount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, seatposcount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabin, convertible_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinRearShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinRearShade, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinRearShade, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, station_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, isrecirculationactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, isfrontdefrosteractive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, isreardefrosteractive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, isairconditioningactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVAC, ambientairtemperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStation, row1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStation, row2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStation, row3_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStation, row4_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Left, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Left, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Left, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Right, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Right, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow1Right, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Left, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Left, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Left, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Right, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Right, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow2Right, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Left, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Left, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Left, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Right, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Right, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow3Right, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Left, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Left, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Left, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Right, fanspeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Right, temperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinHVACStationRow4Right, airdistribution_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainment, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainment, media_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainment, navigation_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainment, hmi_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainment, smartphoneprojection_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMedia, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMedia, action_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMedia, played_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMedia, declineduri_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMedia, selecteduri_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMedia, volume_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, source_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, artist_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, album_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, track_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, uri_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed, playbackrate_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigation, destinationset_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigation, mute_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigation, volume_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet, latitude_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet, longitude_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, currentlanguage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, dateformat_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, timeformat_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, distanceunit_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, fuelvolumeunit_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, fueleconomyunits_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, eveconomyunits_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, temperatureunit_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, tirepressureunit_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, brightness_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentHMI, daynightmode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection, active_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection, source_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection, supportedmode_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroof, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroof, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroof, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroof, shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroofShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroofShade, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSunroofShade, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinRearviewMirror, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinRearviewMirror, dimminglevel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, isgloveboxon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, istrunkon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, isdomeon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, ambientlight_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, lightintensity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLights, spotlight_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlight, row1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlight, row2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlight, row3_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlight, row4_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow1, issharedon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow1, islefton_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow1, isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow2, issharedon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow2, islefton_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow2, isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow3, issharedon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow3, islefton_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow3, isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow4, issharedon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow4, islefton_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinLightsSpotlightRow4, isrighton_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoor, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoor, row1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoor, row2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Left, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Left, islocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Left, window_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Left, ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Left, shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow, ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftShade, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1LeftShade, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Right, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Right, islocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Right, window_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Right, ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1Right, shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightWindow, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightWindow, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightWindow, ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightWindow, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightShade, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow1RightShade, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Left, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Left, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Left, islocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Left, window_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Left, ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Left, shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow, ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftShade, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2LeftShade, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Right, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Right, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Right, islocked_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Right, window_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Right, ischildlockactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2Right, shade_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightWindow, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightWindow, isopen_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightWindow, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightWindow, ischildlockengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightWindow, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightShade, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightShade, switch__), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinDoorRow2RightShade, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeat, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeat, row1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeat, row2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1, pos1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1, pos2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1, pos3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, isoccupied_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, occupant_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, isbelted_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, heating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, massage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, airbag_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest, recline_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar, support_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar, height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster, support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating, length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest, angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag, isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch, massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest, isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest, isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar, isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster, islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage, isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage, isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, isoccupied_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, occupant_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, isbelted_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, heating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, massage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, airbag_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest, recline_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar, support_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar, height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster, support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating, length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest, angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag, isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch, massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest, isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest, isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar, isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster, islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage, isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage, isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, isoccupied_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, occupant_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, isbelted_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, heating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, massage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, airbag_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest, recline_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar, support_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar, height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster, support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating, length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest, angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag, isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch, massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest, isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest, isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar, isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster, islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage, isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage, isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2, pos1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2, pos2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2, pos3_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, isoccupied_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, occupant_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, isbelted_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, heating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, massage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, airbag_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest, recline_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar, support_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar, height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster, support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating, length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest, angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag, isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch, massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest, isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest, isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar, isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster, islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage, isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage, isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, isoccupied_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, occupant_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, isbelted_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, heating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, massage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, airbag_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest, recline_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar, support_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar, height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster, support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating, length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest, angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag, isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch, massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest, isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest, isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar, isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster, islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage, isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage, isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, isoccupied_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, occupant_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, isbelted_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, heating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, massage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, position_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, airbag_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3, switch__), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant, identifier_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest, recline_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar, support_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar, height_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster, support_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating, length_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest, height_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest, angle_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag, isdeployed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, iswarmerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, iscoolerengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, isbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, istiltforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, istiltbackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, backrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, seating_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, headrest_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch, massage_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest, isreclineforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest, isreclinebackwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest, lumbar_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest, sidebolster_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, islesssupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar, isdownengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, ismoresupportengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster, islesssupportengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest, isupengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest, isdownengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest, isforwardengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest, isbackwardengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage, isincreaseengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage, isdecreaseengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinConvertible, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleCabinConvertible, status_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, activeautonomylevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, supportedautonomylevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, cruisecontrol_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, lanedeparturedetection_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, obstacledetection_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, abs_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, tcs_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, esc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, ebd_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADAS, eba_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASCruiseControl, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASCruiseControl, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASCruiseControl, isactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASCruiseControl, speedset_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASCruiseControl, iserror_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASLaneDepartureDetection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASLaneDepartureDetection, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASLaneDepartureDetection, iswarning_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASLaneDepartureDetection, iserror_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASObstacleDetection, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASObstacleDetection, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASObstacleDetection, iswarning_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASObstacleDetection, iserror_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASABS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASABS, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASABS, iserror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASABS, isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASTCS, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASTCS, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASTCS, iserror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASTCS, isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESC, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESC, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESC, iserror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESC, isengaged_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESC, isstrongcrosswinddetected_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESC, roadfriction_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESCRoadFriction, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESCRoadFriction, mostprobable_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESCRoadFriction, lowerbound_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASESCRoadFriction, upperbound_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBD, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBD, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBD, iserror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBD, isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBA, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBA, isenabled_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBA, iserror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleADASEBA, isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, wheelbase_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, track_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, axle_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, axlecount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, parkingbrake_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, steeringwheel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, accelerator_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassis, brake_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxle, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxle, row1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxle, row2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, wheelcount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, wheeldiameter_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, wheelwidth_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, tirediameter_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, tirewidth_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, tireaspectratio_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1, wheel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1Wheel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1Wheel, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1Wheel, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft, brake_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft, tire_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft, speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake, fluidlevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake, isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake, padwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake, isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire, pressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire, ispressurelow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire, temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRight, brake_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRight, tire_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRight, speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake, fluidlevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake, isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake, padwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake, isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire, pressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire, ispressurelow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire, temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, wheelcount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, wheeldiameter_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, wheelwidth_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, tirediameter_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, tirewidth_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, tireaspectratio_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2, wheel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2Wheel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2Wheel, left_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2Wheel, right_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft, brake_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft, tire_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft, speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake, fluidlevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake, isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake, padwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake, isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire, pressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire, ispressurelow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire, temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRight, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRight, brake_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRight, tire_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRight, speed_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake, fluidlevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake, isfluidlevellow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake, padwear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake, isbrakesworn_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire, pressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire, ispressurelow_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire, temperature_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisParkingBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisParkingBrake, isengaged_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisSteeringWheel, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisSteeringWheel, angle_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisSteeringWheel, tilt_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisSteeringWheel, extension_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisSteeringWheel, position_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAccelerator, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisAccelerator, pedalposition_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisBrake, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisBrake, pedalposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleChassisBrake, isdriveremergencybrakingdetected_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, pidsa_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, status_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, dtclist_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, freezedtc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelstatus_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, engineload_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, coolanttemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, shorttermfueltrim1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, longtermfueltrim1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, shorttermfueltrim2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, longtermfueltrim2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelpressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, map_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, enginespeed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, speed_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, timingadvance_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, intaketemp_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, maf_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, throttleposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, airstatus_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, oxygensensorsin2banks_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, o2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, obdstandards_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, oxygensensorsin4banks_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, isptoactive_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, runtime_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, pidsb_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, distancewithmil_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelrailpressurevac_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelrailpressuredirect_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, o2wr_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, commandedegr_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, egrerror_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, commandedevap_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuellevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, warmupssincedtcclear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, distancesincedtcclear_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, evapvaporpressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, barometricpressure_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, catalyst_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, pidsc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, drivecyclestatus_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, controlmodulevoltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, absoluteload_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, commandedequivalenceratio_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, relativethrottleposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, ambientairtemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, throttlepositionb_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, throttlepositionc_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, acceleratorpositiond_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, acceleratorpositione_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, acceleratorpositionf_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, throttleactuator_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, runtimemil_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, timesincedtccleared_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, maxmaf_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fueltype_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, ethanolpercent_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, evapvaporpressureabsolute_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, evapvaporpressurealternate_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, shorttermo2trim1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, shorttermo2trim3_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, longtermo2trim1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, longtermo2trim3_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, shorttermo2trim2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, shorttermo2trim4_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, longtermo2trim2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, longtermo2trim4_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelrailpressureabsolute_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, relativeacceleratorposition_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, hybridbatteryremaining_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, oiltemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelinjectiontiming_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBD, fuelrate_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDStatus, ismilon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDStatus, dtccount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDStatus, ignitiontype_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor3_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor4_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor5_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor6_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor7_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2, sensor8_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor1, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor1, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor2, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor2, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor3, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor3, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor4, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor4, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor5, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor5, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor5, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor6, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor6, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor6, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor7, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor7, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor7, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor8, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor8, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2Sensor8, shorttermfueltrim_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor2_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor3_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor4_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor5_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor6_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor7_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WR, sensor8_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor1, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor1, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor1, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor2, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor2, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor2, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor3, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor3, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor3, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor4, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor4, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor4, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor4, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor5, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor5, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor5, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor5, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor6, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor6, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor6, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor6, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor7, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor7, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor7, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor7, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor8, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor8, lambda_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor8, voltage_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDO2WRSensor8, current_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalyst, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalyst, bank1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalyst, bank2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalystBank1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalystBank1, temperature1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalystBank1, temperature2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalystBank2, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalystBank2, temperature1_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDCatalystBank2, temperature2_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDDriveCycleStatus, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDDriveCycleStatus, ismilon_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDDriveCycleStatus, dtccount_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleOBDDriveCycleStatus, ignitiontype_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, identifier_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, distractionlevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, iseyesonroad_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, attentiveprobability_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, fatiguelevel_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriver, heartrate_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriverIdentifier, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriverIdentifier, subject_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleDriverIdentifier, issuer_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleExterior, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleExterior, airtemperature_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleExterior, humidity_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleExterior, lightintensity_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleService, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleService, isservicedue_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleService, distancetoservice_), + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleService, timetoservice_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleConnectivity, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::com::vehicle::messages::VehicleConnectivity, isconnectivityavailable_), +}; +static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { + { 0, -1, sizeof(::com::vehicle::messages::Vehicle)}, + { 40, -1, sizeof(::com::vehicle::messages::VehicleVersionVSS)}, + { 49, -1, sizeof(::com::vehicle::messages::VehicleVehicleIdentification)}, + { 72, -1, sizeof(::com::vehicle::messages::VehicleLowVoltageBattery)}, + { 81, -1, sizeof(::com::vehicle::messages::VehicleAcceleration)}, + { 89, -1, sizeof(::com::vehicle::messages::VehicleAngularVelocity)}, + { 97, -1, sizeof(::com::vehicle::messages::VehicleTrailer)}, + { 103, -1, sizeof(::com::vehicle::messages::VehicleCurrentLocation)}, + { 116, -1, sizeof(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver)}, + { 123, -1, sizeof(::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition)}, + { 131, -1, sizeof(::com::vehicle::messages::VehiclePowertrain)}, + { 144, -1, sizeof(::com::vehicle::messages::VehiclePowertrainCombustionEngine)}, + { 178, -1, sizeof(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid)}, + { 187, -1, sizeof(::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter)}, + { 195, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTransmission)}, + { 217, -1, sizeof(::com::vehicle::messages::VehiclePowertrainElectricMotor)}, + { 232, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBattery)}, + { 259, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature)}, + { 267, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge)}, + { 274, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging)}, + { 296, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent)}, + { 305, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent)}, + { 314, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage)}, + { 323, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer)}, + { 330, -1, sizeof(::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC)}, + { 337, -1, sizeof(::com::vehicle::messages::VehiclePowertrainFuelSystem)}, + { 354, -1, sizeof(::com::vehicle::messages::VehicleBody)}, + { 369, -1, sizeof(::com::vehicle::messages::VehicleBodyHood)}, + { 375, -1, sizeof(::com::vehicle::messages::VehicleBodyTrunk)}, + { 382, -1, sizeof(::com::vehicle::messages::VehicleBodyTrunkFront)}, + { 389, -1, sizeof(::com::vehicle::messages::VehicleBodyTrunkRear)}, + { 396, -1, sizeof(::com::vehicle::messages::VehicleBodyHorn)}, + { 402, -1, sizeof(::com::vehicle::messages::VehicleBodyRaindetection)}, + { 408, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshield)}, + { 415, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldFront)}, + { 423, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldFrontWiping)}, + { 433, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem)}, + { 449, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid)}, + { 456, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldRear)}, + { 464, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldRearWiping)}, + { 474, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem)}, + { 490, -1, sizeof(::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid)}, + { 497, -1, sizeof(::com::vehicle::messages::VehicleBodyLights)}, + { 513, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsBeam)}, + { 520, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsBeamLow)}, + { 527, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsBeamHigh)}, + { 534, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsRunning)}, + { 541, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsBackup)}, + { 548, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsParking)}, + { 555, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsFog)}, + { 562, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsFogRear)}, + { 569, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsFogFront)}, + { 576, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsLicensePlate)}, + { 583, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsBrake)}, + { 590, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsHazard)}, + { 597, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsDirectionIndicator)}, + { 604, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft)}, + { 611, -1, sizeof(::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight)}, + { 618, -1, sizeof(::com::vehicle::messages::VehicleBodyMirrors)}, + { 625, -1, sizeof(::com::vehicle::messages::VehicleBodyMirrorsLeft)}, + { 633, -1, sizeof(::com::vehicle::messages::VehicleBodyMirrorsRight)}, + { 641, -1, sizeof(::com::vehicle::messages::VehicleCabin)}, + { 659, -1, sizeof(::com::vehicle::messages::VehicleCabinRearShade)}, + { 666, -1, sizeof(::com::vehicle::messages::VehicleCabinHVAC)}, + { 677, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStation)}, + { 686, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow1)}, + { 693, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow1Left)}, + { 701, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow1Right)}, + { 709, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow2)}, + { 716, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow2Left)}, + { 724, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow2Right)}, + { 732, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow3)}, + { 739, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow3Left)}, + { 747, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow3Right)}, + { 755, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow4)}, + { 762, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow4Left)}, + { 770, -1, sizeof(::com::vehicle::messages::VehicleCabinHVACStationRow4Right)}, + { 778, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainment)}, + { 787, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainmentMedia)}, + { 797, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed)}, + { 808, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainmentNavigation)}, + { 816, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet)}, + { 823, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainmentHMI)}, + { 839, -1, sizeof(::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection)}, + { 847, -1, sizeof(::com::vehicle::messages::VehicleCabinSunroof)}, + { 855, -1, sizeof(::com::vehicle::messages::VehicleCabinSunroofShade)}, + { 862, -1, sizeof(::com::vehicle::messages::VehicleCabinRearviewMirror)}, + { 868, -1, sizeof(::com::vehicle::messages::VehicleCabinLights)}, + { 879, -1, sizeof(::com::vehicle::messages::VehicleCabinLightsSpotlight)}, + { 888, -1, sizeof(::com::vehicle::messages::VehicleCabinLightsSpotlightRow1)}, + { 896, -1, sizeof(::com::vehicle::messages::VehicleCabinLightsSpotlightRow2)}, + { 904, -1, sizeof(::com::vehicle::messages::VehicleCabinLightsSpotlightRow3)}, + { 912, -1, sizeof(::com::vehicle::messages::VehicleCabinLightsSpotlightRow4)}, + { 920, -1, sizeof(::com::vehicle::messages::VehicleCabinDoor)}, + { 927, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1)}, + { 934, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1Left)}, + { 944, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow)}, + { 953, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1LeftShade)}, + { 960, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1Right)}, + { 970, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1RightWindow)}, + { 979, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow1RightShade)}, + { 986, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2)}, + { 993, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2Left)}, + { 1003, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow)}, + { 1012, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2LeftShade)}, + { 1019, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2Right)}, + { 1029, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2RightWindow)}, + { 1038, -1, sizeof(::com::vehicle::messages::VehicleCabinDoorRow2RightShade)}, + { 1045, -1, sizeof(::com::vehicle::messages::VehicleCabinSeat)}, + { 1052, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1)}, + { 1060, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1)}, + { 1078, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant)}, + { 1084, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier)}, + { 1091, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest)}, + { 1099, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar)}, + { 1106, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster)}, + { 1112, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating)}, + { 1118, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest)}, + { 1125, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag)}, + { 1131, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch)}, + { 1148, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest)}, + { 1157, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar)}, + { 1166, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster)}, + { 1173, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating)}, + { 1180, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest)}, + { 1189, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage)}, + { 1196, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2)}, + { 1214, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant)}, + { 1220, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier)}, + { 1227, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest)}, + { 1235, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar)}, + { 1242, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster)}, + { 1248, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating)}, + { 1254, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest)}, + { 1261, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag)}, + { 1267, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch)}, + { 1284, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest)}, + { 1293, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar)}, + { 1302, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster)}, + { 1309, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating)}, + { 1316, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest)}, + { 1325, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage)}, + { 1332, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3)}, + { 1350, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant)}, + { 1356, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier)}, + { 1363, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest)}, + { 1371, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar)}, + { 1378, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster)}, + { 1384, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating)}, + { 1390, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest)}, + { 1397, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag)}, + { 1403, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch)}, + { 1420, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest)}, + { 1429, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar)}, + { 1438, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster)}, + { 1445, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating)}, + { 1452, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest)}, + { 1461, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage)}, + { 1468, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2)}, + { 1476, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1)}, + { 1494, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant)}, + { 1500, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier)}, + { 1507, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest)}, + { 1515, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar)}, + { 1522, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster)}, + { 1528, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating)}, + { 1534, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest)}, + { 1541, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag)}, + { 1547, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch)}, + { 1564, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest)}, + { 1573, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar)}, + { 1582, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster)}, + { 1589, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating)}, + { 1596, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest)}, + { 1605, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage)}, + { 1612, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2)}, + { 1630, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant)}, + { 1636, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier)}, + { 1643, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest)}, + { 1651, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar)}, + { 1658, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster)}, + { 1664, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating)}, + { 1670, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest)}, + { 1677, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag)}, + { 1683, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch)}, + { 1700, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest)}, + { 1709, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar)}, + { 1718, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster)}, + { 1725, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating)}, + { 1732, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest)}, + { 1741, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage)}, + { 1748, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3)}, + { 1766, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant)}, + { 1772, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier)}, + { 1779, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest)}, + { 1787, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar)}, + { 1794, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster)}, + { 1800, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating)}, + { 1806, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest)}, + { 1813, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag)}, + { 1819, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch)}, + { 1836, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest)}, + { 1845, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar)}, + { 1854, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster)}, + { 1861, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating)}, + { 1868, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest)}, + { 1877, -1, sizeof(::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage)}, + { 1884, -1, sizeof(::com::vehicle::messages::VehicleCabinConvertible)}, + { 1890, -1, sizeof(::com::vehicle::messages::VehicleADAS)}, + { 1905, -1, sizeof(::com::vehicle::messages::VehicleADASCruiseControl)}, + { 1914, -1, sizeof(::com::vehicle::messages::VehicleADASLaneDepartureDetection)}, + { 1922, -1, sizeof(::com::vehicle::messages::VehicleADASObstacleDetection)}, + { 1930, -1, sizeof(::com::vehicle::messages::VehicleADASABS)}, + { 1938, -1, sizeof(::com::vehicle::messages::VehicleADASTCS)}, + { 1946, -1, sizeof(::com::vehicle::messages::VehicleADASESC)}, + { 1956, -1, sizeof(::com::vehicle::messages::VehicleADASESCRoadFriction)}, + { 1964, -1, sizeof(::com::vehicle::messages::VehicleADASEBD)}, + { 1972, -1, sizeof(::com::vehicle::messages::VehicleADASEBA)}, + { 1980, -1, sizeof(::com::vehicle::messages::VehicleChassis)}, + { 1993, -1, sizeof(::com::vehicle::messages::VehicleChassisAxle)}, + { 2000, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1)}, + { 2012, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1Wheel)}, + { 2019, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft)}, + { 2027, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake)}, + { 2036, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire)}, + { 2044, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1WheelRight)}, + { 2052, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake)}, + { 2061, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire)}, + { 2069, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2)}, + { 2081, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2Wheel)}, + { 2088, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft)}, + { 2096, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake)}, + { 2105, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire)}, + { 2113, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2WheelRight)}, + { 2121, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake)}, + { 2130, -1, sizeof(::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire)}, + { 2138, -1, sizeof(::com::vehicle::messages::VehicleChassisParkingBrake)}, + { 2144, -1, sizeof(::com::vehicle::messages::VehicleChassisSteeringWheel)}, + { 2153, -1, sizeof(::com::vehicle::messages::VehicleChassisAccelerator)}, + { 2159, -1, sizeof(::com::vehicle::messages::VehicleChassisBrake)}, + { 2166, -1, sizeof(::com::vehicle::messages::VehicleOBD)}, + { 2245, -1, sizeof(::com::vehicle::messages::VehicleOBDStatus)}, + { 2253, -1, sizeof(::com::vehicle::messages::VehicleOBDO2)}, + { 2266, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor1)}, + { 2273, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor2)}, + { 2280, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor3)}, + { 2287, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor4)}, + { 2294, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor5)}, + { 2301, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor6)}, + { 2308, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor7)}, + { 2315, -1, sizeof(::com::vehicle::messages::VehicleOBDO2Sensor8)}, + { 2322, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WR)}, + { 2335, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor1)}, + { 2343, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor2)}, + { 2351, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor3)}, + { 2359, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor4)}, + { 2367, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor5)}, + { 2375, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor6)}, + { 2383, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor7)}, + { 2391, -1, sizeof(::com::vehicle::messages::VehicleOBDO2WRSensor8)}, + { 2399, -1, sizeof(::com::vehicle::messages::VehicleOBDCatalyst)}, + { 2406, -1, sizeof(::com::vehicle::messages::VehicleOBDCatalystBank1)}, + { 2413, -1, sizeof(::com::vehicle::messages::VehicleOBDCatalystBank2)}, + { 2420, -1, sizeof(::com::vehicle::messages::VehicleOBDDriveCycleStatus)}, + { 2428, -1, sizeof(::com::vehicle::messages::VehicleDriver)}, + { 2439, -1, sizeof(::com::vehicle::messages::VehicleDriverIdentifier)}, + { 2446, -1, sizeof(::com::vehicle::messages::VehicleExterior)}, + { 2454, -1, sizeof(::com::vehicle::messages::VehicleService)}, + { 2462, -1, sizeof(::com::vehicle::messages::VehicleConnectivity)}, +}; + +static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_Vehicle_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleVersionVSS_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleVehicleIdentification_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleLowVoltageBattery_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleAcceleration_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleAngularVelocity_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleTrailer_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCurrentLocation_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCurrentLocationGNSSReceiver_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCurrentLocationGNSSReceiverMountingPosition_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrain_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainCombustionEngine_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainCombustionEngineDieselExhaustFluid_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainCombustionEngineDieselParticulateFilter_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTransmission_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainElectricMotor_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBattery_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryTemperature_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryStateOfCharge_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryCharging_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingChargeCurrent_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingChargeVoltage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryChargingTimer_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainTractionBatteryDCDC_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehiclePowertrainFuelSystem_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBody_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyHood_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyTrunk_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyTrunkFront_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyTrunkRear_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyHorn_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyRaindetection_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshield_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldFront_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldFrontWiping_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldFrontWipingSystem_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldFrontWasherFluid_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldRear_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldRearWiping_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldRearWipingSystem_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyWindshieldRearWasherFluid_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLights_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsBeam_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsBeamLow_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsBeamHigh_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsRunning_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsBackup_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsParking_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsFog_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsFogRear_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsFogFront_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsLicensePlate_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsHazard_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsDirectionIndicator_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsDirectionIndicatorLeft_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyLightsDirectionIndicatorRight_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyMirrors_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyMirrorsLeft_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleBodyMirrorsRight_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabin_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinRearShade_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVAC_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStation_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow1Left_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow1Right_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow2Left_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow2Right_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow3_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow3Left_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow3Right_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow4_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow4Left_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinHVACStationRow4Right_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainment_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainmentMedia_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainmentMediaPlayed_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainmentNavigation_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainmentNavigationDestinationSet_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainmentHMI_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinInfotainmentSmartphoneProjection_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSunroof_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSunroofShade_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinRearviewMirror_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinLights_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinLightsSpotlight_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinLightsSpotlightRow1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinLightsSpotlightRow2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinLightsSpotlightRow3_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinLightsSpotlightRow4_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoor_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1Left_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1LeftWindow_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1LeftShade_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1Right_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1RightWindow_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow1RightShade_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2Left_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2LeftWindow_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2LeftShade_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2Right_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2RightWindow_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinDoorRow2RightShade_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeat_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Occupant_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1OccupantIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Backrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1BackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1BackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Seating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Headrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Airbag_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Switch_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchSeating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchHeadrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchMassage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Occupant_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2OccupantIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Backrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2BackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2BackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Seating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Headrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Airbag_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Switch_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchSeating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchHeadrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchMassage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Occupant_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3OccupantIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Backrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3BackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3BackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Seating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Headrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Airbag_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Switch_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchSeating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchHeadrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchMassage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Occupant_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1OccupantIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Backrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1BackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1BackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Seating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Headrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Airbag_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Switch_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchSeating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchHeadrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchMassage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Occupant_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2OccupantIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Backrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2BackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2BackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Seating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Headrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Airbag_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Switch_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchSeating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchHeadrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchMassage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Occupant_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3OccupantIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Backrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3BackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3BackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Seating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Headrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Airbag_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Switch_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchSeating_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchHeadrest_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchMassage_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleCabinConvertible_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADAS_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASCruiseControl_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASLaneDepartureDetection_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASObstacleDetection_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASABS_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASTCS_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASESC_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASESCRoadFriction_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASEBD_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleADASEBA_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassis_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxle_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1Wheel_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeft_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeftBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeftTire_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1WheelRight_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1WheelRightBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow1WheelRightTire_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2Wheel_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeft_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeftBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeftTire_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2WheelRight_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2WheelRightBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAxleRow2WheelRightTire_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisParkingBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisSteeringWheel_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisAccelerator_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleChassisBrake_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBD_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDStatus_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor3_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor4_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor5_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor6_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor7_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2Sensor8_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WR_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor3_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor4_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor5_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor6_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor7_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDO2WRSensor8_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDCatalyst_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDCatalystBank1_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDCatalystBank2_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleOBDDriveCycleStatus_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleDriver_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleDriverIdentifier_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleExterior_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleService_default_instance_), + reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::com::vehicle::messages::_VehicleConnectivity_default_instance_), +}; + +const char descriptor_table_protodef_V2C_2fvspec_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = + "\n\017V2C/vspec.proto\022\024com.vehicle.messages\"" + "\214\013\n\007Vehicle\022;\n\nVersionVSS\030\001 \001(\0132\'.com.ve" + "hicle.messages.VehicleVersionVSS\022Q\n\025Vehi" + "cleIdentification\030\002 \001(\01322.com.vehicle.me" + "ssages.VehicleVehicleIdentification\022\035\n\025L" + "owVoltageSystemState\030\003 \001(\t\022I\n\021LowVoltage" + "Battery\030\004 \001(\0132..com.vehicle.messages.Veh" + "icleLowVoltageBattery\022\r\n\005Speed\030\005 \001(\002\022\031\n\021" + "TravelledDistance\030\006 \001(\002\022\030\n\020TripMeterRead" + "ing\030\007 \001(\002\022\024\n\014IsBrokenDown\030\010 \001(\010\022\020\n\010IsMov" + "ing\030\t \001(\010\022\024\n\014AverageSpeed\030\n \001(\002\022\?\n\014Accel" + "eration\030\013 \001(\0132).com.vehicle.messages.Veh" + "icleAcceleration\022E\n\017AngularVelocity\030\014 \001(" + "\0132,.com.vehicle.messages.VehicleAngularV" + "elocity\022\020\n\010RoofLoad\030\r \001(\005\022\023\n\013CargoVolume" + "\030\016 \001(\002\022\024\n\014EmissionsCO2\030\017 \001(\005\022\034\n\024CurrentO" + "verallWeight\030\020 \001(\r\022\022\n\nCurbWeight\030\021 \001(\r\022\023" + "\n\013GrossWeight\030\022 \001(\r\022\024\n\014MaxTowWeight\030\023 \001(" + "\r\022\030\n\020MaxTowBallWeight\030\024 \001(\r\022\016\n\006Length\030\025 " + "\001(\r\022\016\n\006Height\030\026 \001(\r\022\r\n\005Width\030\027 \001(\r\0225\n\007Tr" + "ailer\030\030 \001(\0132$.com.vehicle.messages.Vehic" + "leTrailer\022E\n\017CurrentLocation\030\031 \001(\0132,.com" + ".vehicle.messages.VehicleCurrentLocation" + "\022;\n\nPowertrain\030\032 \001(\0132\'.com.vehicle.messa" + "ges.VehiclePowertrain\022/\n\004Body\030\033 \001(\0132!.co" + "m.vehicle.messages.VehicleBody\0221\n\005Cabin\030" + "\034 \001(\0132\".com.vehicle.messages.VehicleCabi" + "n\022/\n\004ADAS\030\035 \001(\0132!.com.vehicle.messages.V" + "ehicleADAS\0225\n\007Chassis\030\036 \001(\0132$.com.vehicl" + "e.messages.VehicleChassis\022-\n\003OBD\030\037 \001(\0132 " + ".com.vehicle.messages.VehicleOBD\0223\n\006Driv" + "er\030 \001(\0132#.com.vehicle.messages.VehicleD" + "river\0227\n\010Exterior\030! \001(\0132%.com.vehicle.me" + "ssages.VehicleExterior\0225\n\007Service\030\" \001(\0132" + "$.com.vehicle.messages.VehicleService\022\?\n" + "\014Connectivity\030# \001(\0132).com.vehicle.messag" + "es.VehicleConnectivity\"O\n\021VehicleVersion" + "VSS\022\r\n\005Major\030\001 \001(\r\022\r\n\005Minor\030\002 \001(\r\022\r\n\005Pat" + "ch\030\003 \001(\r\022\r\n\005Label\030\004 \001(\t\"\310\003\n\034VehicleVehic" + "leIdentification\022\013\n\003VIN\030\001 \001(\t\022\013\n\003WMI\030\002 \001" + "(\t\022\r\n\005Brand\030\003 \001(\t\022\r\n\005Model\030\004 \001(\t\022\014\n\004Year" + "\030\005 \001(\r\022\022\n\nAcrissCode\030\006 \001(\t\022\020\n\010BodyType\030\007" + " \001(\t\022\"\n\032DateVehicleFirstRegistered\030\010 \001(\t" + "\022\035\n\025MeetsEmissionStandard\030\t \001(\t\022\026\n\016Produ" + "ctionDate\030\n \001(\t\022\024\n\014PurchaseDate\030\013 \001(\t\022\030\n" + "\020VehicleModelDate\030\014 \001(\t\022\034\n\024VehicleConfig" + "uration\030\r \001(\t\022\036\n\026VehicleSeatingCapacity\030" + "\016 \001(\r\022\033\n\023VehicleSpecialUsage\030\017 \001(\t\022\034\n\024Ve" + "hicleInteriorColor\030\020 \001(\t\022\033\n\023VehicleInter" + "iorType\030\021 \001(\t\022\033\n\023KnownVehicleDamages\030\022 \001" + "(\t\"{\n\030VehicleLowVoltageBattery\022\026\n\016Nomina" + "lVoltage\030\001 \001(\r\022\027\n\017NominalCapacity\030\002 \001(\r\022" + "\026\n\016CurrentVoltage\030\003 \001(\002\022\026\n\016CurrentCurren" + "t\030\004 \001(\002\"N\n\023VehicleAcceleration\022\024\n\014Longit" + "udinal\030\001 \001(\002\022\017\n\007Lateral\030\002 \001(\002\022\020\n\010Vertica" + "l\030\003 \001(\002\"B\n\026VehicleAngularVelocity\022\014\n\004Rol" + "l\030\001 \001(\002\022\r\n\005Pitch\030\002 \001(\002\022\013\n\003Yaw\030\003 \001(\002\"%\n\016V" + "ehicleTrailer\022\023\n\013IsConnected\030\001 \001(\010\"\371\001\n\026V" + "ehicleCurrentLocation\022\021\n\tTimestamp\030\001 \001(\t" + "\022\020\n\010Latitude\030\002 \001(\001\022\021\n\tLongitude\030\003 \001(\001\022\017\n" + "\007Heading\030\004 \001(\001\022\032\n\022HorizontalAccuracy\030\005 \001" + "(\001\022\020\n\010Altitude\030\006 \001(\001\022\030\n\020VerticalAccuracy" + "\030\007 \001(\001\022N\n\014GNSSReceiver\030\010 \001(\01328.com.vehic" + "le.messages.VehicleCurrentLocationGNSSRe" + "ceiver\"\231\001\n\"VehicleCurrentLocationGNSSRec" + "eiver\022\017\n\007FixType\030\001 \001(\t\022b\n\020MountingPositi" + "on\030\002 \001(\0132H.com.vehicle.messages.VehicleC" + "urrentLocationGNSSReceiverMountingPositi" + "on\"U\n2VehicleCurrentLocationGNSSReceiver" + "MountingPosition\022\t\n\001X\030\001 \001(\005\022\t\n\001Y\030\002 \001(\005\022\t" + "\n\001Z\030\003 \001(\005\"\325\003\n\021VehiclePowertrain\022 \n\030Accum" + "ulatedBrakingEnergy\030\001 \001(\002\022\r\n\005Range\030\002 \001(\r" + "\022\014\n\004Type\030\003 \001(\t\022Q\n\020CombustionEngine\030\004 \001(\013" + "27.com.vehicle.messages.VehiclePowertrai" + "nCombustionEngine\022I\n\014Transmission\030\005 \001(\0132" + "3.com.vehicle.messages.VehiclePowertrain" + "Transmission\022K\n\rElectricMotor\030\006 \001(\01324.co" + "m.vehicle.messages.VehiclePowertrainElec" + "tricMotor\022O\n\017TractionBattery\030\007 \001(\01326.com" + ".vehicle.messages.VehiclePowertrainTract" + "ionBattery\022E\n\nFuelSystem\030\010 \001(\01321.com.veh" + "icle.messages.VehiclePowertrainFuelSyste" + "m\"\230\006\n!VehiclePowertrainCombustionEngine\022" + "\022\n\nEngineCode\030\001 \001(\t\022\024\n\014Displacement\030\002 \001(" + "\r\022\024\n\014StrokeLength\030\003 \001(\002\022\014\n\004Bore\030\004 \001(\002\022\025\n" + "\rConfiguration\030\005 \001(\t\022\031\n\021NumberOfCylinder" + "s\030\006 \001(\r\022!\n\031NumberOfValvesPerCylinder\030\007 \001" + "(\r\022\030\n\020CompressionRatio\030\010 \001(\t\022\031\n\021EngineOi" + "lCapacity\030\t \001(\002\022\035\n\025EngineCoolantCapacity" + "\030\n \001(\002\022\020\n\010MaxPower\030\013 \001(\r\022\021\n\tMaxTorque\030\014 " + "\001(\r\022\026\n\016AspirationType\030\r \001(\t\022\026\n\016EngineOil" + "Level\030\016 \001(\t\022\030\n\020OilLifeRemaining\030\017 \001(\005\022\021\n" + "\tIsRunning\030\020 \001(\010\022\r\n\005Speed\030\021 \001(\r\022\023\n\013Engin" + "eHours\030\022 \001(\002\022\021\n\tIdleHours\030\023 \001(\002\022\013\n\003ECT\030\024" + " \001(\005\022\013\n\003EOT\030\025 \001(\005\022\013\n\003MAP\030\026 \001(\r\022\013\n\003MAF\030\027 " + "\001(\r\022\013\n\003TPS\030\030 \001(\r\022\013\n\003EOP\030\031 \001(\r\022\r\n\005Power\030\032" + " \001(\r\022\016\n\006Torque\030\033 \001(\r\022e\n\022DieselExhaustFlu" + "id\030\034 \001(\0132I.com.vehicle.messages.VehicleP" + "owertrainCombustionEngineDieselExhaustFl" + "uid\022o\n\027DieselParticulateFilter\030\035 \001(\0132N.c" + "om.vehicle.messages.VehiclePowertrainCom" + "bustionEngineDieselParticulateFilter\"y\n3" + "VehiclePowertrainCombustionEngineDieselE" + "xhaustFluid\022\020\n\010Capacity\030\001 \001(\002\022\r\n\005Level\030\002" + " \001(\r\022\r\n\005Range\030\003 \001(\r\022\022\n\nIsLevelLow\030\004 \001(\010\"" + "\206\001\n8VehiclePowertrainCombustionEngineDie" + "selParticulateFilter\022\030\n\020InletTemperature" + "\030\001 \001(\002\022\031\n\021OutletTemperature\030\002 \001(\002\022\025\n\rDel" + "taPressure\030\003 \001(\002\"\307\003\n\035VehiclePowertrainTr" + "ansmission\022\014\n\004Type\030\001 \001(\t\022\021\n\tGearCount\030\002 " + "\001(\005\022\021\n\tDriveType\030\003 \001(\t\022\031\n\021TravelledDista" + "nce\030\004 \001(\002\022\023\n\013CurrentGear\030\005 \001(\005\022\024\n\014Select" + "edGear\030\006 \001(\005\022\031\n\021IsParkLockEngaged\030\007 \001(\010\022" + "\031\n\021IsLowRangeEngaged\030\010 \001(\010\022%\n\035IsElectric" + "alPowertrainEngaged\030\t \001(\010\022\027\n\017Performance" + "Mode\030\n \001(\t\022\026\n\016GearChangeMode\030\013 \001(\t\022\023\n\013Te" + "mperature\030\014 \001(\005\022\030\n\020ClutchEngagement\030\r \001(" + "\002\022\022\n\nClutchWear\030\016 \001(\r\022\037\n\027DiffLockFrontEn" + "gagement\030\017 \001(\002\022\036\n\026DiffLockRearEngagement" + "\030\020 \001(\002\022\032\n\022TorqueDistribution\030\021 \001(\002\"\347\001\n\036V" + "ehiclePowertrainElectricMotor\022\022\n\nEngineC" + "ode\030\001 \001(\t\022\020\n\010MaxPower\030\002 \001(\r\022\021\n\tMaxTorque" + "\030\003 \001(\r\022\025\n\rMaxRegenPower\030\004 \001(\r\022\026\n\016MaxRege" + "nTorque\030\005 \001(\r\022\r\n\005Speed\030\006 \001(\005\022\023\n\013Temperat" + "ure\030\007 \001(\005\022\032\n\022CoolantTemperature\030\010 \001(\005\022\r\n" + "\005Power\030\t \001(\005\022\016\n\006Torque\030\n \001(\005\"\264\006\n Vehicle" + "PowertrainTractionBattery\022\n\n\002Id\030\001 \001(\t\022\026\n" + "\016ProductionDate\030\002 \001(\t\022\030\n\020IsPowerConnecte" + "d\030\003 \001(\010\022\031\n\021IsGroundConnected\030\004 \001(\010\022V\n\013Te" + "mperature\030\005 \001(\0132A.com.vehicle.messages.V" + "ehiclePowertrainTractionBatteryTemperatu" + "re\022\025\n\rGrossCapacity\030\006 \001(\r\022\023\n\013NetCapacity" + "\030\007 \001(\r\022\025\n\rStateOfHealth\030\010 \001(\002\022Z\n\rStateOf" + "Charge\030\t \001(\0132C.com.vehicle.messages.Vehi" + "clePowertrainTractionBatteryStateOfCharg" + "e\022\026\n\016NominalVoltage\030\n \001(\r\022\022\n\nMaxVoltage\030" + "\013 \001(\r\022\026\n\016CurrentVoltage\030\014 \001(\002\022\026\n\016Current" + "Current\030\r \001(\002\022\024\n\014CurrentPower\030\016 \001(\002\022 \n\030A" + "ccumulatedChargedEnergy\030\017 \001(\002\022!\n\031Accumul" + "atedConsumedEnergy\030\020 \001(\002\022$\n\034AccumulatedC" + "hargedThroughput\030\021 \001(\002\022%\n\035AccumulatedCon" + "sumedThroughput\030\022 \001(\002\022\021\n\tPowerLoss\030\023 \001(\002" + "\022\r\n\005Range\030\024 \001(\r\022P\n\010Charging\030\025 \001(\0132>.com." + "vehicle.messages.VehiclePowertrainTracti" + "onBatteryCharging\022H\n\004DCDC\030\026 \001(\0132:.com.ve" + "hicle.messages.VehiclePowertrainTraction" + "BatteryDCDC\"X\n+VehiclePowertrainTraction" + "BatteryTemperature\022\017\n\007Average\030\001 \001(\002\022\013\n\003M" + "in\030\002 \001(\002\022\013\n\003Max\030\003 \001(\002\"S\n-VehiclePowertra" + "inTractionBatteryStateOfCharge\022\017\n\007Curren" + "t\030\001 \001(\002\022\021\n\tDisplayed\030\002 \001(\002\"\352\005\n(VehiclePo" + "wertrainTractionBatteryCharging\022\023\n\013Charg" + "eLimit\030\001 \001(\r\022t\n\026MaximumChargingCurrent\030\002" + " \001(\0132T.com.vehicle.messages.VehiclePower" + "trainTractionBatteryChargingMaximumCharg" + "ingCurrent\022\026\n\016ChargePortFlap\030\003 \001(\t\022 \n\030Is" + "ChargingCableConnected\030\004 \001(\010\022\035\n\025IsChargi" + "ngCableLocked\030\005 \001(\010\022\026\n\016ChargePlugType\030\006 " + "\003(\t\022\014\n\004Mode\030\007 \001(\t\022\022\n\nIsCharging\030\010 \001(\010\022\025\n" + "\rIsDischarging\030\t \001(\010\022\031\n\021StartStopChargin" + "g\030\n \001(\t\022b\n\rChargeCurrent\030\013 \001(\0132K.com.veh" + "icle.messages.VehiclePowertrainTractionB" + "atteryChargingChargeCurrent\022b\n\rChargeVol" + "tage\030\014 \001(\0132K.com.vehicle.messages.Vehicl" + "ePowertrainTractionBatteryChargingCharge" + "Voltage\022\021\n\tPowerLoss\030\r \001(\002\022\023\n\013Temperatur" + "e\030\016 \001(\002\022\022\n\nChargeRate\030\017 \001(\002\022\026\n\016TimeToCom" + "plete\030\020 \001(\r\022R\n\005Timer\030\021 \001(\0132C.com.vehicle" + ".messages.VehiclePowertrainTractionBatte" + "ryChargingTimer\"|\n>VehiclePowertrainTrac" + "tionBatteryChargingMaximumChargingCurren" + "t\022\n\n\002DC\030\001 \001(\002\022\016\n\006Phase1\030\002 \001(\002\022\016\n\006Phase2\030" + "\003 \001(\002\022\016\n\006Phase3\030\004 \001(\002\"s\n5VehiclePowertra" + "inTractionBatteryChargingChargeCurrent\022\n" + "\n\002DC\030\001 \001(\002\022\016\n\006Phase1\030\002 \001(\002\022\016\n\006Phase2\030\003 \001" + "(\002\022\016\n\006Phase3\030\004 \001(\002\"s\n5VehiclePowertrainT" + "ractionBatteryChargingChargeVoltage\022\n\n\002D" + "C\030\001 \001(\002\022\016\n\006Phase1\030\002 \001(\002\022\016\n\006Phase2\030\003 \001(\002\022" + "\016\n\006Phase3\030\004 \001(\002\"K\n-VehiclePowertrainTrac" + "tionBatteryChargingTimer\022\014\n\004Mode\030\001 \001(\t\022\014" + "\n\004Time\030\002 \001(\t\"N\n$VehiclePowertrainTractio" + "nBatteryDCDC\022\021\n\tPowerLoss\030\001 \001(\002\022\023\n\013Tempe" + "rature\030\002 \001(\002\"\301\002\n\033VehiclePowertrainFuelSy" + "stem\022\032\n\022SupportedFuelTypes\030\001 \003(\t\022\025\n\rSupp" + "ortedFuel\030\002 \003(\t\022\022\n\nHybridType\030\003 \001(\t\022\024\n\014T" + "ankCapacity\030\004 \001(\002\022\r\n\005Level\030\005 \001(\r\022\r\n\005Rang" + "e\030\006 \001(\r\022\032\n\022InstantConsumption\030\007 \001(\002\022\032\n\022A" + "verageConsumption\030\010 \001(\002\022\035\n\025ConsumptionSi" + "nceStart\030\t \001(\002\022\026\n\016TimeSinceStart\030\n \001(\r\022 " + "\n\030IsEngineStopStartEnabled\030\013 \001(\010\022\026\n\016IsFu" + "elLevelLow\030\014 \001(\010\"\365\003\n\013VehicleBody\022\020\n\010Body" + "Type\030\001 \001(\t\022\026\n\016RefuelPosition\030\002 \001(\t\0223\n\004Ho" + "od\030\003 \001(\0132%.com.vehicle.messages.VehicleB" + "odyHood\0225\n\005Trunk\030\004 \001(\0132&.com.vehicle.mes" + "sages.VehicleBodyTrunk\0223\n\004Horn\030\005 \001(\0132%.c" + "om.vehicle.messages.VehicleBodyHorn\022E\n\rR" + "aindetection\030\006 \001(\0132..com.vehicle.message" + "s.VehicleBodyRaindetection\022\?\n\nWindshield" + "\030\007 \001(\0132+.com.vehicle.messages.VehicleBod" + "yWindshield\0227\n\006Lights\030\010 \001(\0132\'.com.vehicl" + "e.messages.VehicleBodyLights\0229\n\007Mirrors\030" + "\t \001(\0132(.com.vehicle.messages.VehicleBody" + "Mirrors\022\037\n\027RearMainSpoilerPosition\030\n \001(\002" + "\"!\n\017VehicleBodyHood\022\016\n\006IsOpen\030\001 \001(\010\"\210\001\n\020" + "VehicleBodyTrunk\022:\n\005Front\030\001 \001(\0132+.com.ve" + "hicle.messages.VehicleBodyTrunkFront\0228\n\004" + "Rear\030\002 \001(\0132*.com.vehicle.messages.Vehicl" + "eBodyTrunkRear\"9\n\025VehicleBodyTrunkFront\022" + "\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLocked\030\002 \001(\010\"8\n\024Veh" + "icleBodyTrunkRear\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsL" + "ocked\030\002 \001(\010\"#\n\017VehicleBodyHorn\022\020\n\010IsActi" + "ve\030\001 \001(\010\"-\n\030VehicleBodyRaindetection\022\021\n\t" + "Intensity\030\001 \001(\r\"\227\001\n\025VehicleBodyWindshiel" + "d\022\?\n\005Front\030\001 \001(\01320.com.vehicle.messages." + "VehicleBodyWindshieldFront\022=\n\004Rear\030\002 \001(\013" + "2/.com.vehicle.messages.VehicleBodyWinds" + "hieldRear\"\313\001\n\032VehicleBodyWindshieldFront" + "\022F\n\006Wiping\030\001 \001(\01326.com.vehicle.messages." + "VehicleBodyWindshieldFrontWiping\022\023\n\013IsHe" + "atingOn\030\002 \001(\010\022P\n\013WasherFluid\030\003 \001(\0132;.com" + ".vehicle.messages.VehicleBodyWindshieldF" + "rontWasherFluid\"\272\001\n VehicleBodyWindshiel" + "dFrontWiping\022\014\n\004Mode\030\001 \001(\t\022\021\n\tIntensity\030" + "\002 \001(\r\022L\n\006System\030\003 \001(\0132<.com.vehicle.mess" + "ages.VehicleBodyWindshieldFrontWipingSys" + "tem\022\021\n\tWiperWear\030\004 \001(\r\022\024\n\014IsWipersWorn\030\005" + " \001(\010\"\226\002\n&VehicleBodyWindshieldFrontWipin" + "gSystem\022\014\n\004Mode\030\001 \001(\t\022\021\n\tFrequency\030\002 \001(\r" + "\022\026\n\016TargetPosition\030\003 \001(\002\022\026\n\016ActualPositi" + "on\030\004 \001(\002\022\024\n\014DriveCurrent\030\005 \001(\002\022\020\n\010IsWipi" + "ng\030\006 \001(\010\022\031\n\021IsEndingWipeCycle\030\007 \001(\010\022\024\n\014I" + "sWiperError\030\010 \001(\010\022\031\n\021IsPositionReached\030\t" + " \001(\010\022\021\n\tIsBlocked\030\n \001(\010\022\024\n\014IsOverheated\030" + "\013 \001(\010\"J\n%VehicleBodyWindshieldFrontWashe" + "rFluid\022\022\n\nIsLevelLow\030\001 \001(\010\022\r\n\005Level\030\002 \001(" + "\r\"\310\001\n\031VehicleBodyWindshieldRear\022E\n\006Wipin" + "g\030\001 \001(\01325.com.vehicle.messages.VehicleBo" + "dyWindshieldRearWiping\022\023\n\013IsHeatingOn\030\002 " + "\001(\010\022O\n\013WasherFluid\030\003 \001(\0132:.com.vehicle.m" + "essages.VehicleBodyWindshieldRearWasherF" + "luid\"\270\001\n\037VehicleBodyWindshieldRearWiping" + "\022\014\n\004Mode\030\001 \001(\t\022\021\n\tIntensity\030\002 \001(\r\022K\n\006Sys" + "tem\030\003 \001(\0132;.com.vehicle.messages.Vehicle" + "BodyWindshieldRearWipingSystem\022\021\n\tWiperW" + "ear\030\004 \001(\r\022\024\n\014IsWipersWorn\030\005 \001(\010\"\225\002\n%Vehi" + "cleBodyWindshieldRearWipingSystem\022\014\n\004Mod" + "e\030\001 \001(\t\022\021\n\tFrequency\030\002 \001(\r\022\026\n\016TargetPosi" + "tion\030\003 \001(\002\022\026\n\016ActualPosition\030\004 \001(\002\022\024\n\014Dr" + "iveCurrent\030\005 \001(\002\022\020\n\010IsWiping\030\006 \001(\010\022\031\n\021Is" + "EndingWipeCycle\030\007 \001(\010\022\024\n\014IsWiperError\030\010 " + "\001(\010\022\031\n\021IsPositionReached\030\t \001(\010\022\021\n\tIsBloc" + "ked\030\n \001(\010\022\024\n\014IsOverheated\030\013 \001(\010\"I\n$Vehic" + "leBodyWindshieldRearWasherFluid\022\022\n\nIsLev" + "elLow\030\001 \001(\010\022\r\n\005Level\030\002 \001(\r\"\227\005\n\021VehicleBo" + "dyLights\022\023\n\013LightSwitch\030\001 \001(\t\022\032\n\022IsHighB" + "eamSwitchOn\030\002 \001(\010\0229\n\004Beam\030\003 \001(\0132+.com.ve" + "hicle.messages.VehicleBodyLightsBeam\022\?\n\007" + "Running\030\004 \001(\0132..com.vehicle.messages.Veh" + "icleBodyLightsRunning\022=\n\006Backup\030\005 \001(\0132-." + "com.vehicle.messages.VehicleBodyLightsBa" + "ckup\022\?\n\007Parking\030\006 \001(\0132..com.vehicle.mess" + "ages.VehicleBodyLightsParking\0227\n\003Fog\030\007 \001" + "(\0132*.com.vehicle.messages.VehicleBodyLig" + "htsFog\022I\n\014LicensePlate\030\010 \001(\01323.com.vehic" + "le.messages.VehicleBodyLightsLicensePlat" + "e\022;\n\005Brake\030\t \001(\0132,.com.vehicle.messages." + "VehicleBodyLightsBrake\022=\n\006Hazard\030\n \001(\0132-" + ".com.vehicle.messages.VehicleBodyLightsH" + "azard\022U\n\022DirectionIndicator\030\013 \001(\01329.com." + "vehicle.messages.VehicleBodyLightsDirect" + "ionIndicator\"\223\001\n\025VehicleBodyLightsBeam\022;" + "\n\003Low\030\001 \001(\0132..com.vehicle.messages.Vehic" + "leBodyLightsBeamLow\022=\n\004High\030\002 \001(\0132/.com." + "vehicle.messages.VehicleBodyLightsBeamHi" + "gh\":\n\030VehicleBodyLightsBeamLow\022\014\n\004IsOn\030\001" + " \001(\010\022\020\n\010IsDefect\030\002 \001(\010\";\n\031VehicleBodyLig" + "htsBeamHigh\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 " + "\001(\010\":\n\030VehicleBodyLightsRunning\022\014\n\004IsOn\030" + "\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"9\n\027VehicleBodyLi" + "ghtsBackup\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001" + "(\010\":\n\030VehicleBodyLightsParking\022\014\n\004IsOn\030\001" + " \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"\224\001\n\024VehicleBodyLi" + "ghtsFog\022<\n\004Rear\030\001 \001(\0132..com.vehicle.mess" + "ages.VehicleBodyLightsFogRear\022>\n\005Front\030\002" + " \001(\0132/.com.vehicle.messages.VehicleBodyL" + "ightsFogFront\":\n\030VehicleBodyLightsFogRea" + "r\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\";\n\031Veh" + "icleBodyLightsFogFront\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010" + "IsDefect\030\002 \001(\010\"\?\n\035VehicleBodyLightsLicen" + "sePlate\022\014\n\004IsOn\030\001 \001(\010\022\020\n\010IsDefect\030\002 \001(\010\"" + "<\n\026VehicleBodyLightsBrake\022\020\n\010IsActive\030\001 " + "\001(\t\022\020\n\010IsDefect\030\002 \001(\010\"@\n\027VehicleBodyLigh" + "tsHazard\022\023\n\013IsSignaling\030\001 \001(\010\022\020\n\010IsDefec" + "t\030\002 \001(\010\"\301\001\n#VehicleBodyLightsDirectionIn" + "dicator\022K\n\004Left\030\001 \001(\0132=.com.vehicle.mess" + "ages.VehicleBodyLightsDirectionIndicator" + "Left\022M\n\005Right\030\002 \001(\0132>.com.vehicle.messag" + "es.VehicleBodyLightsDirectionIndicatorRi" + "ght\"P\n\'VehicleBodyLightsDirectionIndicat" + "orLeft\022\023\n\013IsSignaling\030\001 \001(\010\022\020\n\010IsDefect\030" + "\002 \001(\010\"Q\n(VehicleBodyLightsDirectionIndic" + "atorRight\022\023\n\013IsSignaling\030\001 \001(\010\022\020\n\010IsDefe" + "ct\030\002 \001(\010\"\216\001\n\022VehicleBodyMirrors\022:\n\004Left\030" + "\001 \001(\0132,.com.vehicle.messages.VehicleBody" + "MirrorsLeft\022<\n\005Right\030\002 \001(\0132-.com.vehicle" + ".messages.VehicleBodyMirrorsRight\"H\n\026Veh" + "icleBodyMirrorsLeft\022\014\n\004Tilt\030\001 \001(\005\022\013\n\003Pan" + "\030\002 \001(\005\022\023\n\013IsHeatingOn\030\003 \001(\010\"I\n\027VehicleBo" + "dyMirrorsRight\022\014\n\004Tilt\030\001 \001(\005\022\013\n\003Pan\030\002 \001(" + "\005\022\023\n\013IsHeatingOn\030\003 \001(\010\"\221\005\n\014VehicleCabin\022" + ">\n\tRearShade\030\001 \001(\0132+.com.vehicle.message" + "s.VehicleCabinRearShade\0224\n\004HVAC\030\002 \001(\0132&." + "com.vehicle.messages.VehicleCabinHVAC\022D\n" + "\014Infotainment\030\003 \001(\0132..com.vehicle.messag" + "es.VehicleCabinInfotainment\022:\n\007Sunroof\030\004" + " \001(\0132).com.vehicle.messages.VehicleCabin" + "Sunroof\022H\n\016RearviewMirror\030\005 \001(\01320.com.ve" + "hicle.messages.VehicleCabinRearviewMirro" + "r\0228\n\006Lights\030\006 \001(\0132(.com.vehicle.messages" + ".VehicleCabinLights\0224\n\004Door\030\007 \001(\0132&.com." + "vehicle.messages.VehicleCabinDoor\022\021\n\tDoo" + "rCount\030\010 \001(\r\0224\n\004Seat\030\t \001(\0132&.com.vehicle" + ".messages.VehicleCabinSeat\022\026\n\016DriverPosi" + "tion\030\n \001(\r\022\024\n\014SeatRowCount\030\013 \001(\r\022\024\n\014Seat" + "PosCount\030\014 \003(\r\022B\n\013Convertible\030\r \001(\0132-.co" + "m.vehicle.messages.VehicleCabinConvertib" + "le\"9\n\025VehicleCabinRearShade\022\016\n\006Switch\030\001 " + "\001(\t\022\020\n\010Position\030\002 \001(\r\"\360\001\n\020VehicleCabinHV" + "AC\022>\n\007Station\030\001 \001(\0132-.com.vehicle.messag" + "es.VehicleCabinHVACStation\022\035\n\025IsRecircul" + "ationActive\030\002 \001(\010\022\036\n\026IsFrontDefrosterAct" + "ive\030\003 \001(\010\022\035\n\025IsRearDefrosterActive\030\004 \001(\010" + "\022\037\n\027IsAirConditioningActive\030\005 \001(\010\022\035\n\025Amb" + "ientAirTemperature\030\006 \001(\002\"\235\002\n\027VehicleCabi" + "nHVACStation\022\?\n\004Row1\030\001 \001(\01321.com.vehicle" + ".messages.VehicleCabinHVACStationRow1\022\?\n" + "\004Row2\030\002 \001(\01321.com.vehicle.messages.Vehic" + "leCabinHVACStationRow2\022\?\n\004Row3\030\003 \001(\01321.c" + "om.vehicle.messages.VehicleCabinHVACStat" + "ionRow3\022\?\n\004Row4\030\004 \001(\01321.com.vehicle.mess" + "ages.VehicleCabinHVACStationRow4\"\251\001\n\033Veh" + "icleCabinHVACStationRow1\022C\n\004Left\030\001 \001(\01325" + ".com.vehicle.messages.VehicleCabinHVACSt" + "ationRow1Left\022E\n\005Right\030\002 \001(\01326.com.vehic" + "le.messages.VehicleCabinHVACStationRow1R" + "ight\"a\n\037VehicleCabinHVACStationRow1Left\022" + "\020\n\010FanSpeed\030\001 \001(\r\022\023\n\013Temperature\030\002 \001(\005\022\027" + "\n\017AirDistribution\030\003 \001(\t\"b\n VehicleCabinH" + "VACStationRow1Right\022\020\n\010FanSpeed\030\001 \001(\r\022\023\n" + "\013Temperature\030\002 \001(\005\022\027\n\017AirDistribution\030\003 " + "\001(\t\"\251\001\n\033VehicleCabinHVACStationRow2\022C\n\004L" + "eft\030\001 \001(\01325.com.vehicle.messages.Vehicle" + "CabinHVACStationRow2Left\022E\n\005Right\030\002 \001(\0132" + "6.com.vehicle.messages.VehicleCabinHVACS" + "tationRow2Right\"a\n\037VehicleCabinHVACStati" + "onRow2Left\022\020\n\010FanSpeed\030\001 \001(\r\022\023\n\013Temperat" + "ure\030\002 \001(\005\022\027\n\017AirDistribution\030\003 \001(\t\"b\n Ve" + "hicleCabinHVACStationRow2Right\022\020\n\010FanSpe" + "ed\030\001 \001(\r\022\023\n\013Temperature\030\002 \001(\005\022\027\n\017AirDist" + "ribution\030\003 \001(\t\"\251\001\n\033VehicleCabinHVACStati" + "onRow3\022C\n\004Left\030\001 \001(\01325.com.vehicle.messa" + "ges.VehicleCabinHVACStationRow3Left\022E\n\005R" + "ight\030\002 \001(\01326.com.vehicle.messages.Vehicl" + "eCabinHVACStationRow3Right\"a\n\037VehicleCab" + "inHVACStationRow3Left\022\020\n\010FanSpeed\030\001 \001(\r\022" + "\023\n\013Temperature\030\002 \001(\005\022\027\n\017AirDistribution\030" + "\003 \001(\t\"b\n VehicleCabinHVACStationRow3Righ" + "t\022\020\n\010FanSpeed\030\001 \001(\r\022\023\n\013Temperature\030\002 \001(\005" + "\022\027\n\017AirDistribution\030\003 \001(\t\"\251\001\n\033VehicleCab" + "inHVACStationRow4\022C\n\004Left\030\001 \001(\01325.com.ve" + "hicle.messages.VehicleCabinHVACStationRo" + "w4Left\022E\n\005Right\030\002 \001(\01326.com.vehicle.mess" + "ages.VehicleCabinHVACStationRow4Right\"a\n" + "\037VehicleCabinHVACStationRow4Left\022\020\n\010FanS" + "peed\030\001 \001(\r\022\023\n\013Temperature\030\002 \001(\005\022\027\n\017AirDi" + "stribution\030\003 \001(\t\"b\n VehicleCabinHVACStat" + "ionRow4Right\022\020\n\010FanSpeed\030\001 \001(\r\022\023\n\013Temper" + "ature\030\002 \001(\005\022\027\n\017AirDistribution\030\003 \001(\t\"\316\002\n" + "\030VehicleCabinInfotainment\022B\n\005Media\030\001 \001(\013" + "23.com.vehicle.messages.VehicleCabinInfo" + "tainmentMedia\022L\n\nNavigation\030\002 \001(\01328.com." + "vehicle.messages.VehicleCabinInfotainmen" + "tNavigation\022>\n\003HMI\030\003 \001(\01321.com.vehicle.m" + "essages.VehicleCabinInfotainmentHMI\022`\n\024S" + "martphoneProjection\030\004 \001(\0132B.com.vehicle." + "messages.VehicleCabinInfotainmentSmartph" + "oneProjection\"\264\001\n\035VehicleCabinInfotainme" + "ntMedia\022\016\n\006Action\030\001 \001(\t\022I\n\006Played\030\002 \001(\0132" + "9.com.vehicle.messages.VehicleCabinInfot" + "ainmentMediaPlayed\022\023\n\013DeclinedURI\030\003 \001(\t\022" + "\023\n\013SelectedURI\030\004 \001(\t\022\016\n\006Volume\030\005 \001(\r\"\206\001\n" + "#VehicleCabinInfotainmentMediaPlayed\022\016\n\006" + "Source\030\001 \001(\t\022\016\n\006Artist\030\002 \001(\t\022\r\n\005Album\030\003 " + "\001(\t\022\r\n\005Track\030\004 \001(\t\022\013\n\003URI\030\005 \001(\t\022\024\n\014Playb" + "ackRate\030\006 \001(\002\"\242\001\n\"VehicleCabinInfotainme" + "ntNavigation\022^\n\016DestinationSet\030\001 \001(\0132F.c" + "om.vehicle.messages.VehicleCabinInfotain" + "mentNavigationDestinationSet\022\014\n\004Mute\030\002 \001" + "(\t\022\016\n\006Volume\030\003 \001(\r\"W\n0VehicleCabinInfota" + "inmentNavigationDestinationSet\022\020\n\010Latitu" + "de\030\001 \001(\001\022\021\n\tLongitude\030\002 \001(\001\"\233\002\n\033VehicleC" + "abinInfotainmentHMI\022\027\n\017CurrentLanguage\030\001" + " \001(\t\022\022\n\nDateFormat\030\002 \001(\t\022\022\n\nTimeFormat\030\003" + " \001(\t\022\024\n\014DistanceUnit\030\004 \001(\t\022\026\n\016FuelVolume" + "Unit\030\005 \001(\t\022\030\n\020FuelEconomyUnits\030\006 \001(\t\022\026\n\016" + "EVEconomyUnits\030\007 \001(\t\022\027\n\017TemperatureUnit\030" + "\010 \001(\t\022\030\n\020TirePressureUnit\030\t \001(\t\022\022\n\nBrigh" + "tness\030\n \001(\002\022\024\n\014DayNightMode\030\013 \001(\t\"e\n,Veh" + "icleCabinInfotainmentSmartphoneProjectio" + "n\022\016\n\006Active\030\001 \001(\t\022\016\n\006Source\030\002 \001(\t\022\025\n\rSup" + "portedMode\030\003 \003(\t\"v\n\023VehicleCabinSunroof\022" + "\020\n\010Position\030\001 \001(\005\022\016\n\006Switch\030\002 \001(\t\022=\n\005Sha" + "de\030\003 \001(\0132..com.vehicle.messages.VehicleC" + "abinSunroofShade\"<\n\030VehicleCabinSunroofS" + "hade\022\016\n\006Switch\030\001 \001(\t\022\020\n\010Position\030\002 \001(\r\"2" + "\n\032VehicleCabinRearviewMirror\022\024\n\014DimmingL" + "evel\030\001 \001(\r\"\303\001\n\022VehicleCabinLights\022\024\n\014IsG" + "loveBoxOn\030\001 \001(\010\022\021\n\tIsTrunkOn\030\002 \001(\010\022\020\n\010Is" + "DomeOn\030\003 \001(\010\022\024\n\014AmbientLight\030\004 \001(\r\022\026\n\016Li" + "ghtIntensity\030\005 \001(\r\022D\n\tSpotlight\030\006 \001(\01321." + "com.vehicle.messages.VehicleCabinLightsS" + "potlight\"\261\002\n\033VehicleCabinLightsSpotlight" + "\022C\n\004Row1\030\001 \001(\01325.com.vehicle.messages.Ve" + "hicleCabinLightsSpotlightRow1\022C\n\004Row2\030\002 " + "\001(\01325.com.vehicle.messages.VehicleCabinL" + "ightsSpotlightRow2\022C\n\004Row3\030\003 \001(\01325.com.v" + "ehicle.messages.VehicleCabinLightsSpotli" + "ghtRow3\022C\n\004Row4\030\004 \001(\01325.com.vehicle.mess" + "ages.VehicleCabinLightsSpotlightRow4\"Z\n\037" + "VehicleCabinLightsSpotlightRow1\022\022\n\nIsSha" + "redOn\030\001 \001(\010\022\020\n\010IsLeftOn\030\002 \001(\010\022\021\n\tIsRight" + "On\030\003 \001(\010\"Z\n\037VehicleCabinLightsSpotlightR" + "ow2\022\022\n\nIsSharedOn\030\001 \001(\010\022\020\n\010IsLeftOn\030\002 \001(" + "\010\022\021\n\tIsRightOn\030\003 \001(\010\"Z\n\037VehicleCabinLigh" + "tsSpotlightRow3\022\022\n\nIsSharedOn\030\001 \001(\010\022\020\n\010I" + "sLeftOn\030\002 \001(\010\022\021\n\tIsRightOn\030\003 \001(\010\"Z\n\037Vehi" + "cleCabinLightsSpotlightRow4\022\022\n\nIsSharedO" + "n\030\001 \001(\010\022\020\n\010IsLeftOn\030\002 \001(\010\022\021\n\tIsRightOn\030\003" + " \001(\010\"\206\001\n\020VehicleCabinDoor\0228\n\004Row1\030\001 \001(\0132" + "*.com.vehicle.messages.VehicleCabinDoorR" + "ow1\0228\n\004Row2\030\002 \001(\0132*.com.vehicle.messages" + ".VehicleCabinDoorRow2\"\224\001\n\024VehicleCabinDo" + "orRow1\022<\n\004Left\030\001 \001(\0132..com.vehicle.messa" + "ges.VehicleCabinDoorRow1Left\022>\n\005Right\030\002 " + "\001(\0132/.com.vehicle.messages.VehicleCabinD" + "oorRow1Right\"\341\001\n\030VehicleCabinDoorRow1Lef" + "t\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLocked\030\002 \001(\010\022D\n\006W" + "indow\030\003 \001(\01324.com.vehicle.messages.Vehic" + "leCabinDoorRow1LeftWindow\022\031\n\021IsChildLock" + "Active\030\004 \001(\010\022B\n\005Shade\030\005 \001(\01323.com.vehicl" + "e.messages.VehicleCabinDoorRow1LeftShade" + "\"n\n\036VehicleCabinDoorRow1LeftWindow\022\016\n\006Is" + "Open\030\001 \001(\010\022\020\n\010Position\030\002 \001(\r\022\032\n\022IsChildL" + "ockEngaged\030\003 \001(\010\022\016\n\006Switch\030\004 \001(\t\"A\n\035Vehi" + "cleCabinDoorRow1LeftShade\022\016\n\006Switch\030\001 \001(" + "\t\022\020\n\010Position\030\002 \001(\r\"\344\001\n\031VehicleCabinDoor" + "Row1Right\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLocked\030\002 " + "\001(\010\022E\n\006Window\030\003 \001(\01325.com.vehicle.messag" + "es.VehicleCabinDoorRow1RightWindow\022\031\n\021Is" + "ChildLockActive\030\004 \001(\010\022C\n\005Shade\030\005 \001(\01324.c" + "om.vehicle.messages.VehicleCabinDoorRow1" + "RightShade\"o\n\037VehicleCabinDoorRow1RightW" + "indow\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010Position\030\002 \001(\r\022" + "\032\n\022IsChildLockEngaged\030\003 \001(\010\022\016\n\006Switch\030\004 " + "\001(\t\"B\n\036VehicleCabinDoorRow1RightShade\022\016\n" + "\006Switch\030\001 \001(\t\022\020\n\010Position\030\002 \001(\r\"\224\001\n\024Vehi" + "cleCabinDoorRow2\022<\n\004Left\030\001 \001(\0132..com.veh" + "icle.messages.VehicleCabinDoorRow2Left\022>" + "\n\005Right\030\002 \001(\0132/.com.vehicle.messages.Veh" + "icleCabinDoorRow2Right\"\341\001\n\030VehicleCabinD" + "oorRow2Left\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010IsLocked\030" + "\002 \001(\010\022D\n\006Window\030\003 \001(\01324.com.vehicle.mess" + "ages.VehicleCabinDoorRow2LeftWindow\022\031\n\021I" + "sChildLockActive\030\004 \001(\010\022B\n\005Shade\030\005 \001(\01323." + "com.vehicle.messages.VehicleCabinDoorRow" + "2LeftShade\"n\n\036VehicleCabinDoorRow2LeftWi" + "ndow\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010Position\030\002 \001(\r\022\032" + "\n\022IsChildLockEngaged\030\003 \001(\010\022\016\n\006Switch\030\004 \001" + "(\t\"A\n\035VehicleCabinDoorRow2LeftShade\022\016\n\006S" + "witch\030\001 \001(\t\022\020\n\010Position\030\002 \001(\r\"\344\001\n\031Vehicl" + "eCabinDoorRow2Right\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010I" + "sLocked\030\002 \001(\010\022E\n\006Window\030\003 \001(\01325.com.vehi" + "cle.messages.VehicleCabinDoorRow2RightWi" + "ndow\022\031\n\021IsChildLockActive\030\004 \001(\010\022C\n\005Shade" + "\030\005 \001(\01324.com.vehicle.messages.VehicleCab" + "inDoorRow2RightShade\"o\n\037VehicleCabinDoor" + "Row2RightWindow\022\016\n\006IsOpen\030\001 \001(\010\022\020\n\010Posit" + "ion\030\002 \001(\r\022\032\n\022IsChildLockEngaged\030\003 \001(\010\022\016\n" + "\006Switch\030\004 \001(\t\"B\n\036VehicleCabinDoorRow2Rig" + "htShade\022\016\n\006Switch\030\001 \001(\t\022\020\n\010Position\030\002 \001(" + "\r\"\206\001\n\020VehicleCabinSeat\0228\n\004Row1\030\001 \001(\0132*.c" + "om.vehicle.messages.VehicleCabinSeatRow1" + "\0228\n\004Row2\030\002 \001(\0132*.com.vehicle.messages.Ve" + "hicleCabinSeatRow2\"\320\001\n\024VehicleCabinSeatR" + "ow1\022<\n\004Pos1\030\001 \001(\0132..com.vehicle.messages" + ".VehicleCabinSeatRow1Pos1\022<\n\004Pos2\030\002 \001(\0132" + "..com.vehicle.messages.VehicleCabinSeatR" + "ow1Pos2\022<\n\004Pos3\030\003 \001(\0132..com.vehicle.mess" + "ages.VehicleCabinSeatRow1Pos3\"\304\004\n\030Vehicl" + "eCabinSeatRow1Pos1\022\022\n\nIsOccupied\030\001 \001(\010\022H" + "\n\010Occupant\030\002 \001(\01326.com.vehicle.messages." + "VehicleCabinSeatRow1Pos1Occupant\022\020\n\010IsBe" + "lted\030\003 \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Massage\030\005" + " \001(\r\022\020\n\010Position\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r\022\014" + "\n\004Tilt\030\010 \001(\002\022H\n\010Backrest\030\t \001(\01326.com.veh" + "icle.messages.VehicleCabinSeatRow1Pos1Ba" + "ckrest\022F\n\007Seating\030\n \001(\01325.com.vehicle.me" + "ssages.VehicleCabinSeatRow1Pos1Seating\022H" + "\n\010Headrest\030\013 \001(\01326.com.vehicle.messages." + "VehicleCabinSeatRow1Pos1Headrest\022D\n\006Airb" + "ag\030\014 \001(\01324.com.vehicle.messages.VehicleC" + "abinSeatRow1Pos1Airbag\022D\n\006Switch\030\r \001(\01324" + ".com.vehicle.messages.VehicleCabinSeatRo" + "w1Pos1Switch\"x\n VehicleCabinSeatRow1Pos1" + "Occupant\022T\n\nIdentifier\030\001 \001(\0132@.com.vehic" + "le.messages.VehicleCabinSeatRow1Pos1Occu" + "pantIdentifier\"M\n*VehicleCabinSeatRow1Po" + "s1OccupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n" + "\006Issuer\030\002 \001(\t\"\331\001\n VehicleCabinSeatRow1Po" + "s1Backrest\022\017\n\007Recline\030\001 \001(\002\022L\n\006Lumbar\030\002 " + "\001(\0132<.com.vehicle.messages.VehicleCabinS" + "eatRow1Pos1BackrestLumbar\022V\n\013SideBolster" + "\030\003 \001(\0132A.com.vehicle.messages.VehicleCab" + "inSeatRow1Pos1BackrestSideBolster\"I\n&Veh" + "icleCabinSeatRow1Pos1BackrestLumbar\022\017\n\007S" + "upport\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleC" + "abinSeatRow1Pos1BackrestSideBolster\022\017\n\007S" + "upport\030\001 \001(\002\"1\n\037VehicleCabinSeatRow1Pos1" + "Seating\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabinS" + "eatRow1Pos1Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n\005A" + "ngle\030\002 \001(\002\"4\n\036VehicleCabinSeatRow1Pos1Ai" + "rbag\022\022\n\nIsDeployed\030\001 \001(\010\"\254\004\n\036VehicleCabi" + "nSeatRow1Pos1Switch\022\027\n\017IsWarmerEngaged\030\001" + " \001(\010\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsForwa" + "rdEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001" + "(\010\022\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEngaged" + "\030\006 \001(\010\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010\022\035\n\025" + "IsTiltBackwardEngaged\030\010 \001(\010\022N\n\010Backrest\030" + "\t \001(\0132<.com.vehicle.messages.VehicleCabi" + "nSeatRow1Pos1SwitchBackrest\022L\n\007Seating\030\n" + " \001(\0132;.com.vehicle.messages.VehicleCabin" + "SeatRow1Pos1SwitchSeating\022N\n\010Headrest\030\013 " + "\001(\0132<.com.vehicle.messages.VehicleCabinS" + "eatRow1Pos1SwitchHeadrest\022L\n\007Massage\030\014 \001" + "(\0132;.com.vehicle.messages.VehicleCabinSe" + "atRow1Pos1SwitchMassage\"\235\002\n&VehicleCabin" + "SeatRow1Pos1SwitchBackrest\022\037\n\027IsReclineF" + "orwardEngaged\030\001 \001(\010\022 \n\030IsReclineBackward" + "Engaged\030\002 \001(\010\022R\n\006Lumbar\030\003 \001(\0132B.com.vehi" + "cle.messages.VehicleCabinSeatRow1Pos1Swi" + "tchBackrestLumbar\022\\\n\013SideBolster\030\004 \001(\0132G" + ".com.vehicle.messages.VehicleCabinSeatRo" + "w1Pos1SwitchBackrestSideBolster\"\226\001\n,Vehi" + "cleCabinSeatRow1Pos1SwitchBackrestLumbar" + "\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLess" + "SupportEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(" + "\010\022\025\n\rIsDownEngaged\030\004 \001(\010\"o\n1VehicleCabin" + "SeatRow1Pos1SwitchBackrestSideBolster\022\034\n" + "\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSup" + "portEngaged\030\002 \001(\010\"\\\n%VehicleCabinSeatRow" + "1Pos1SwitchSeating\022\030\n\020IsForwardEngaged\030\001" + " \001(\010\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&Vehi" + "cleCabinSeatRow1Pos1SwitchHeadrest\022\023\n\013Is" + "UpEngaged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030" + "\n\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEn" + "gaged\030\004 \001(\010\"]\n%VehicleCabinSeatRow1Pos1S" + "witchMassage\022\031\n\021IsIncreaseEngaged\030\001 \001(\010\022" + "\031\n\021IsDecreaseEngaged\030\002 \001(\010\"\304\004\n\030VehicleCa" + "binSeatRow1Pos2\022\022\n\nIsOccupied\030\001 \001(\010\022H\n\010O" + "ccupant\030\002 \001(\01326.com.vehicle.messages.Veh" + "icleCabinSeatRow1Pos2Occupant\022\020\n\010IsBelte" + "d\030\003 \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Massage\030\005 \001(" + "\r\022\020\n\010Position\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r\022\014\n\004T" + "ilt\030\010 \001(\002\022H\n\010Backrest\030\t \001(\01326.com.vehicl" + "e.messages.VehicleCabinSeatRow1Pos2Backr" + "est\022F\n\007Seating\030\n \001(\01325.com.vehicle.messa" + "ges.VehicleCabinSeatRow1Pos2Seating\022H\n\010H" + "eadrest\030\013 \001(\01326.com.vehicle.messages.Veh" + "icleCabinSeatRow1Pos2Headrest\022D\n\006Airbag\030" + "\014 \001(\01324.com.vehicle.messages.VehicleCabi" + "nSeatRow1Pos2Airbag\022D\n\006Switch\030\r \001(\01324.co" + "m.vehicle.messages.VehicleCabinSeatRow1P" + "os2Switch\"x\n VehicleCabinSeatRow1Pos2Occ" + "upant\022T\n\nIdentifier\030\001 \001(\0132@.com.vehicle." + "messages.VehicleCabinSeatRow1Pos2Occupan" + "tIdentifier\"M\n*VehicleCabinSeatRow1Pos2O" + "ccupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006Is" + "suer\030\002 \001(\t\"\331\001\n VehicleCabinSeatRow1Pos2B" + "ackrest\022\017\n\007Recline\030\001 \001(\002\022L\n\006Lumbar\030\002 \001(\013" + "2<.com.vehicle.messages.VehicleCabinSeat" + "Row1Pos2BackrestLumbar\022V\n\013SideBolster\030\003 " + "\001(\0132A.com.vehicle.messages.VehicleCabinS" + "eatRow1Pos2BackrestSideBolster\"I\n&Vehicl" + "eCabinSeatRow1Pos2BackrestLumbar\022\017\n\007Supp" + "ort\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleCabi" + "nSeatRow1Pos2BackrestSideBolster\022\017\n\007Supp" + "ort\030\001 \001(\002\"1\n\037VehicleCabinSeatRow1Pos2Sea" + "ting\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabinSeat" + "Row1Pos2Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n\005Angl" + "e\030\002 \001(\002\"4\n\036VehicleCabinSeatRow1Pos2Airba" + "g\022\022\n\nIsDeployed\030\001 \001(\010\"\254\004\n\036VehicleCabinSe" + "atRow1Pos2Switch\022\027\n\017IsWarmerEngaged\030\001 \001(" + "\010\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsForwardE" + "ngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\022" + "\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEngaged\030\006 " + "\001(\010\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010\022\035\n\025IsT" + "iltBackwardEngaged\030\010 \001(\010\022N\n\010Backrest\030\t \001" + "(\0132<.com.vehicle.messages.VehicleCabinSe" + "atRow1Pos2SwitchBackrest\022L\n\007Seating\030\n \001(" + "\0132;.com.vehicle.messages.VehicleCabinSea" + "tRow1Pos2SwitchSeating\022N\n\010Headrest\030\013 \001(\013" + "2<.com.vehicle.messages.VehicleCabinSeat" + "Row1Pos2SwitchHeadrest\022L\n\007Massage\030\014 \001(\0132" + ";.com.vehicle.messages.VehicleCabinSeatR" + "ow1Pos2SwitchMassage\"\235\002\n&VehicleCabinSea" + "tRow1Pos2SwitchBackrest\022\037\n\027IsReclineForw" + "ardEngaged\030\001 \001(\010\022 \n\030IsReclineBackwardEng" + "aged\030\002 \001(\010\022R\n\006Lumbar\030\003 \001(\0132B.com.vehicle" + ".messages.VehicleCabinSeatRow1Pos2Switch" + "BackrestLumbar\022\\\n\013SideBolster\030\004 \001(\0132G.co" + "m.vehicle.messages.VehicleCabinSeatRow1P" + "os2SwitchBackrestSideBolster\"\226\001\n,Vehicle" + "CabinSeatRow1Pos2SwitchBackrestLumbar\022\034\n" + "\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSup" + "portEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(\010\022\025" + "\n\rIsDownEngaged\030\004 \001(\010\"o\n1VehicleCabinSea" + "tRow1Pos2SwitchBackrestSideBolster\022\034\n\024Is" + "MoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSuppor" + "tEngaged\030\002 \001(\010\"\\\n%VehicleCabinSeatRow1Po" + "s2SwitchSeating\022\030\n\020IsForwardEngaged\030\001 \001(" + "\010\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&Vehicle" + "CabinSeatRow1Pos2SwitchHeadrest\022\023\n\013IsUpE" + "ngaged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030\n\020I" + "sForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngag" + "ed\030\004 \001(\010\"]\n%VehicleCabinSeatRow1Pos2Swit" + "chMassage\022\031\n\021IsIncreaseEngaged\030\001 \001(\010\022\031\n\021" + "IsDecreaseEngaged\030\002 \001(\010\"\304\004\n\030VehicleCabin" + "SeatRow1Pos3\022\022\n\nIsOccupied\030\001 \001(\010\022H\n\010Occu" + "pant\030\002 \001(\01326.com.vehicle.messages.Vehicl" + "eCabinSeatRow1Pos3Occupant\022\020\n\010IsBelted\030\003" + " \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Massage\030\005 \001(\r\022\020" + "\n\010Position\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r\022\014\n\004Tilt" + "\030\010 \001(\002\022H\n\010Backrest\030\t \001(\01326.com.vehicle.m" + "essages.VehicleCabinSeatRow1Pos3Backrest" + "\022F\n\007Seating\030\n \001(\01325.com.vehicle.messages" + ".VehicleCabinSeatRow1Pos3Seating\022H\n\010Head" + "rest\030\013 \001(\01326.com.vehicle.messages.Vehicl" + "eCabinSeatRow1Pos3Headrest\022D\n\006Airbag\030\014 \001" + "(\01324.com.vehicle.messages.VehicleCabinSe" + "atRow1Pos3Airbag\022D\n\006Switch\030\r \001(\01324.com.v" + "ehicle.messages.VehicleCabinSeatRow1Pos3" + "Switch\"x\n VehicleCabinSeatRow1Pos3Occupa" + "nt\022T\n\nIdentifier\030\001 \001(\0132@.com.vehicle.mes" + "sages.VehicleCabinSeatRow1Pos3OccupantId" + "entifier\"M\n*VehicleCabinSeatRow1Pos3Occu" + "pantIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006Issue" + "r\030\002 \001(\t\"\331\001\n VehicleCabinSeatRow1Pos3Back" + "rest\022\017\n\007Recline\030\001 \001(\002\022L\n\006Lumbar\030\002 \001(\0132<." + "com.vehicle.messages.VehicleCabinSeatRow" + "1Pos3BackrestLumbar\022V\n\013SideBolster\030\003 \001(\013" + "2A.com.vehicle.messages.VehicleCabinSeat" + "Row1Pos3BackrestSideBolster\"I\n&VehicleCa" + "binSeatRow1Pos3BackrestLumbar\022\017\n\007Support" + "\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleCabinSe" + "atRow1Pos3BackrestSideBolster\022\017\n\007Support" + "\030\001 \001(\002\"1\n\037VehicleCabinSeatRow1Pos3Seatin" + "g\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabinSeatRow" + "1Pos3Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n\005Angle\030\002" + " \001(\002\"4\n\036VehicleCabinSeatRow1Pos3Airbag\022\022" + "\n\nIsDeployed\030\001 \001(\010\"\254\004\n\036VehicleCabinSeatR" + "ow1Pos3Switch\022\027\n\017IsWarmerEngaged\030\001 \001(\010\022\027" + "\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsForwardEnga" + "ged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\022\023\n\013" + "IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEngaged\030\006 \001(\010" + "\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010\022\035\n\025IsTilt" + "BackwardEngaged\030\010 \001(\010\022N\n\010Backrest\030\t \001(\0132" + "<.com.vehicle.messages.VehicleCabinSeatR" + "ow1Pos3SwitchBackrest\022L\n\007Seating\030\n \001(\0132;" + ".com.vehicle.messages.VehicleCabinSeatRo" + "w1Pos3SwitchSeating\022N\n\010Headrest\030\013 \001(\0132<." + "com.vehicle.messages.VehicleCabinSeatRow" + "1Pos3SwitchHeadrest\022L\n\007Massage\030\014 \001(\0132;.c" + "om.vehicle.messages.VehicleCabinSeatRow1" + "Pos3SwitchMassage\"\235\002\n&VehicleCabinSeatRo" + "w1Pos3SwitchBackrest\022\037\n\027IsReclineForward" + "Engaged\030\001 \001(\010\022 \n\030IsReclineBackwardEngage" + "d\030\002 \001(\010\022R\n\006Lumbar\030\003 \001(\0132B.com.vehicle.me" + "ssages.VehicleCabinSeatRow1Pos3SwitchBac" + "krestLumbar\022\\\n\013SideBolster\030\004 \001(\0132G.com.v" + "ehicle.messages.VehicleCabinSeatRow1Pos3" + "SwitchBackrestSideBolster\"\226\001\n,VehicleCab" + "inSeatRow1Pos3SwitchBackrestLumbar\022\034\n\024Is" + "MoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSuppor" + "tEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(\010\022\025\n\rI" + "sDownEngaged\030\004 \001(\010\"o\n1VehicleCabinSeatRo" + "w1Pos3SwitchBackrestSideBolster\022\034\n\024IsMor" + "eSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSupportEn" + "gaged\030\002 \001(\010\"\\\n%VehicleCabinSeatRow1Pos3S" + "witchSeating\022\030\n\020IsForwardEngaged\030\001 \001(\010\022\031" + "\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&VehicleCab" + "inSeatRow1Pos3SwitchHeadrest\022\023\n\013IsUpEnga" + "ged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030\n\020IsFo" + "rwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030" + "\004 \001(\010\"]\n%VehicleCabinSeatRow1Pos3SwitchM" + "assage\022\031\n\021IsIncreaseEngaged\030\001 \001(\010\022\031\n\021IsD" + "ecreaseEngaged\030\002 \001(\010\"\320\001\n\024VehicleCabinSea" + "tRow2\022<\n\004Pos1\030\001 \001(\0132..com.vehicle.messag" + "es.VehicleCabinSeatRow2Pos1\022<\n\004Pos2\030\002 \001(" + "\0132..com.vehicle.messages.VehicleCabinSea" + "tRow2Pos2\022<\n\004Pos3\030\003 \001(\0132..com.vehicle.me" + "ssages.VehicleCabinSeatRow2Pos3\"\304\004\n\030Vehi" + "cleCabinSeatRow2Pos1\022\022\n\nIsOccupied\030\001 \001(\010" + "\022H\n\010Occupant\030\002 \001(\01326.com.vehicle.message" + "s.VehicleCabinSeatRow2Pos1Occupant\022\020\n\010Is" + "Belted\030\003 \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Massage" + "\030\005 \001(\r\022\020\n\010Position\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r" + "\022\014\n\004Tilt\030\010 \001(\002\022H\n\010Backrest\030\t \001(\01326.com.v" + "ehicle.messages.VehicleCabinSeatRow2Pos1" + "Backrest\022F\n\007Seating\030\n \001(\01325.com.vehicle." + "messages.VehicleCabinSeatRow2Pos1Seating" + "\022H\n\010Headrest\030\013 \001(\01326.com.vehicle.message" + "s.VehicleCabinSeatRow2Pos1Headrest\022D\n\006Ai" + "rbag\030\014 \001(\01324.com.vehicle.messages.Vehicl" + "eCabinSeatRow2Pos1Airbag\022D\n\006Switch\030\r \001(\013" + "24.com.vehicle.messages.VehicleCabinSeat" + "Row2Pos1Switch\"x\n VehicleCabinSeatRow2Po" + "s1Occupant\022T\n\nIdentifier\030\001 \001(\0132@.com.veh" + "icle.messages.VehicleCabinSeatRow2Pos1Oc" + "cupantIdentifier\"M\n*VehicleCabinSeatRow2" + "Pos1OccupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022" + "\016\n\006Issuer\030\002 \001(\t\"\331\001\n VehicleCabinSeatRow2" + "Pos1Backrest\022\017\n\007Recline\030\001 \001(\002\022L\n\006Lumbar\030" + "\002 \001(\0132<.com.vehicle.messages.VehicleCabi" + "nSeatRow2Pos1BackrestLumbar\022V\n\013SideBolst" + "er\030\003 \001(\0132A.com.vehicle.messages.VehicleC" + "abinSeatRow2Pos1BackrestSideBolster\"I\n&V" + "ehicleCabinSeatRow2Pos1BackrestLumbar\022\017\n" + "\007Support\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+Vehicl" + "eCabinSeatRow2Pos1BackrestSideBolster\022\017\n" + "\007Support\030\001 \001(\002\"1\n\037VehicleCabinSeatRow2Po" + "s1Seating\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabi" + "nSeatRow2Pos1Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n" + "\005Angle\030\002 \001(\002\"4\n\036VehicleCabinSeatRow2Pos1" + "Airbag\022\022\n\nIsDeployed\030\001 \001(\010\"\254\004\n\036VehicleCa" + "binSeatRow2Pos1Switch\022\027\n\017IsWarmerEngaged" + "\030\001 \001(\010\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsFor" + "wardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004" + " \001(\010\022\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEngag" + "ed\030\006 \001(\010\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010\022\035" + "\n\025IsTiltBackwardEngaged\030\010 \001(\010\022N\n\010Backres" + "t\030\t \001(\0132<.com.vehicle.messages.VehicleCa" + "binSeatRow2Pos1SwitchBackrest\022L\n\007Seating" + "\030\n \001(\0132;.com.vehicle.messages.VehicleCab" + "inSeatRow2Pos1SwitchSeating\022N\n\010Headrest\030" + "\013 \001(\0132<.com.vehicle.messages.VehicleCabi" + "nSeatRow2Pos1SwitchHeadrest\022L\n\007Massage\030\014" + " \001(\0132;.com.vehicle.messages.VehicleCabin" + "SeatRow2Pos1SwitchMassage\"\235\002\n&VehicleCab" + "inSeatRow2Pos1SwitchBackrest\022\037\n\027IsReclin" + "eForwardEngaged\030\001 \001(\010\022 \n\030IsReclineBackwa" + "rdEngaged\030\002 \001(\010\022R\n\006Lumbar\030\003 \001(\0132B.com.ve" + "hicle.messages.VehicleCabinSeatRow2Pos1S" + "witchBackrestLumbar\022\\\n\013SideBolster\030\004 \001(\013" + "2G.com.vehicle.messages.VehicleCabinSeat" + "Row2Pos1SwitchBackrestSideBolster\"\226\001\n,Ve" + "hicleCabinSeatRow2Pos1SwitchBackrestLumb" + "ar\022\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLe" + "ssSupportEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 " + "\001(\010\022\025\n\rIsDownEngaged\030\004 \001(\010\"o\n1VehicleCab" + "inSeatRow2Pos1SwitchBackrestSideBolster\022" + "\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessS" + "upportEngaged\030\002 \001(\010\"\\\n%VehicleCabinSeatR" + "ow2Pos1SwitchSeating\022\030\n\020IsForwardEngaged" + "\030\001 \001(\010\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&Ve" + "hicleCabinSeatRow2Pos1SwitchHeadrest\022\023\n\013" + "IsUpEngaged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010" + "\022\030\n\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBackward" + "Engaged\030\004 \001(\010\"]\n%VehicleCabinSeatRow2Pos" + "1SwitchMassage\022\031\n\021IsIncreaseEngaged\030\001 \001(" + "\010\022\031\n\021IsDecreaseEngaged\030\002 \001(\010\"\304\004\n\030Vehicle" + "CabinSeatRow2Pos2\022\022\n\nIsOccupied\030\001 \001(\010\022H\n" + "\010Occupant\030\002 \001(\01326.com.vehicle.messages.V" + "ehicleCabinSeatRow2Pos2Occupant\022\020\n\010IsBel" + "ted\030\003 \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Massage\030\005 " + "\001(\r\022\020\n\010Position\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r\022\014\n" + "\004Tilt\030\010 \001(\002\022H\n\010Backrest\030\t \001(\01326.com.vehi" + "cle.messages.VehicleCabinSeatRow2Pos2Bac" + "krest\022F\n\007Seating\030\n \001(\01325.com.vehicle.mes" + "sages.VehicleCabinSeatRow2Pos2Seating\022H\n" + "\010Headrest\030\013 \001(\01326.com.vehicle.messages.V" + "ehicleCabinSeatRow2Pos2Headrest\022D\n\006Airba" + "g\030\014 \001(\01324.com.vehicle.messages.VehicleCa" + "binSeatRow2Pos2Airbag\022D\n\006Switch\030\r \001(\01324." + "com.vehicle.messages.VehicleCabinSeatRow" + "2Pos2Switch\"x\n VehicleCabinSeatRow2Pos2O" + "ccupant\022T\n\nIdentifier\030\001 \001(\0132@.com.vehicl" + "e.messages.VehicleCabinSeatRow2Pos2Occup" + "antIdentifier\"M\n*VehicleCabinSeatRow2Pos" + "2OccupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006" + "Issuer\030\002 \001(\t\"\331\001\n VehicleCabinSeatRow2Pos" + "2Backrest\022\017\n\007Recline\030\001 \001(\002\022L\n\006Lumbar\030\002 \001" + "(\0132<.com.vehicle.messages.VehicleCabinSe" + "atRow2Pos2BackrestLumbar\022V\n\013SideBolster\030" + "\003 \001(\0132A.com.vehicle.messages.VehicleCabi" + "nSeatRow2Pos2BackrestSideBolster\"I\n&Vehi" + "cleCabinSeatRow2Pos2BackrestLumbar\022\017\n\007Su" + "pport\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleCa" + "binSeatRow2Pos2BackrestSideBolster\022\017\n\007Su" + "pport\030\001 \001(\002\"1\n\037VehicleCabinSeatRow2Pos2S" + "eating\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabinSe" + "atRow2Pos2Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n\005An" + "gle\030\002 \001(\002\"4\n\036VehicleCabinSeatRow2Pos2Air" + "bag\022\022\n\nIsDeployed\030\001 \001(\010\"\254\004\n\036VehicleCabin" + "SeatRow2Pos2Switch\022\027\n\017IsWarmerEngaged\030\001 " + "\001(\010\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsForwar" + "dEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(" + "\010\022\023\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEngaged\030" + "\006 \001(\010\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010\022\035\n\025I" + "sTiltBackwardEngaged\030\010 \001(\010\022N\n\010Backrest\030\t" + " \001(\0132<.com.vehicle.messages.VehicleCabin" + "SeatRow2Pos2SwitchBackrest\022L\n\007Seating\030\n " + "\001(\0132;.com.vehicle.messages.VehicleCabinS" + "eatRow2Pos2SwitchSeating\022N\n\010Headrest\030\013 \001" + "(\0132<.com.vehicle.messages.VehicleCabinSe" + "atRow2Pos2SwitchHeadrest\022L\n\007Massage\030\014 \001(" + "\0132;.com.vehicle.messages.VehicleCabinSea" + "tRow2Pos2SwitchMassage\"\235\002\n&VehicleCabinS" + "eatRow2Pos2SwitchBackrest\022\037\n\027IsReclineFo" + "rwardEngaged\030\001 \001(\010\022 \n\030IsReclineBackwardE" + "ngaged\030\002 \001(\010\022R\n\006Lumbar\030\003 \001(\0132B.com.vehic" + "le.messages.VehicleCabinSeatRow2Pos2Swit" + "chBackrestLumbar\022\\\n\013SideBolster\030\004 \001(\0132G." + "com.vehicle.messages.VehicleCabinSeatRow" + "2Pos2SwitchBackrestSideBolster\"\226\001\n,Vehic" + "leCabinSeatRow2Pos2SwitchBackrestLumbar\022" + "\034\n\024IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessS" + "upportEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(\010" + "\022\025\n\rIsDownEngaged\030\004 \001(\010\"o\n1VehicleCabinS" + "eatRow2Pos2SwitchBackrestSideBolster\022\034\n\024" + "IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSupp" + "ortEngaged\030\002 \001(\010\"\\\n%VehicleCabinSeatRow2" + "Pos2SwitchSeating\022\030\n\020IsForwardEngaged\030\001 " + "\001(\010\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&Vehic" + "leCabinSeatRow2Pos2SwitchHeadrest\022\023\n\013IsU" + "pEngaged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030\n" + "\020IsForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEng" + "aged\030\004 \001(\010\"]\n%VehicleCabinSeatRow2Pos2Sw" + "itchMassage\022\031\n\021IsIncreaseEngaged\030\001 \001(\010\022\031" + "\n\021IsDecreaseEngaged\030\002 \001(\010\"\304\004\n\030VehicleCab" + "inSeatRow2Pos3\022\022\n\nIsOccupied\030\001 \001(\010\022H\n\010Oc" + "cupant\030\002 \001(\01326.com.vehicle.messages.Vehi" + "cleCabinSeatRow2Pos3Occupant\022\020\n\010IsBelted" + "\030\003 \001(\010\022\017\n\007Heating\030\004 \001(\005\022\017\n\007Massage\030\005 \001(\r" + "\022\020\n\010Position\030\006 \001(\r\022\016\n\006Height\030\007 \001(\r\022\014\n\004Ti" + "lt\030\010 \001(\002\022H\n\010Backrest\030\t \001(\01326.com.vehicle" + ".messages.VehicleCabinSeatRow2Pos3Backre" + "st\022F\n\007Seating\030\n \001(\01325.com.vehicle.messag" + "es.VehicleCabinSeatRow2Pos3Seating\022H\n\010He" + "adrest\030\013 \001(\01326.com.vehicle.messages.Vehi" + "cleCabinSeatRow2Pos3Headrest\022D\n\006Airbag\030\014" + " \001(\01324.com.vehicle.messages.VehicleCabin" + "SeatRow2Pos3Airbag\022D\n\006Switch\030\r \001(\01324.com" + ".vehicle.messages.VehicleCabinSeatRow2Po" + "s3Switch\"x\n VehicleCabinSeatRow2Pos3Occu" + "pant\022T\n\nIdentifier\030\001 \001(\0132@.com.vehicle.m" + "essages.VehicleCabinSeatRow2Pos3Occupant" + "Identifier\"M\n*VehicleCabinSeatRow2Pos3Oc" + "cupantIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006Iss" + "uer\030\002 \001(\t\"\331\001\n VehicleCabinSeatRow2Pos3Ba" + "ckrest\022\017\n\007Recline\030\001 \001(\002\022L\n\006Lumbar\030\002 \001(\0132" + "<.com.vehicle.messages.VehicleCabinSeatR" + "ow2Pos3BackrestLumbar\022V\n\013SideBolster\030\003 \001" + "(\0132A.com.vehicle.messages.VehicleCabinSe" + "atRow2Pos3BackrestSideBolster\"I\n&Vehicle" + "CabinSeatRow2Pos3BackrestLumbar\022\017\n\007Suppo" + "rt\030\001 \001(\002\022\016\n\006Height\030\002 \001(\r\">\n+VehicleCabin" + "SeatRow2Pos3BackrestSideBolster\022\017\n\007Suppo" + "rt\030\001 \001(\002\"1\n\037VehicleCabinSeatRow2Pos3Seat" + "ing\022\016\n\006Length\030\001 \001(\r\"A\n VehicleCabinSeatR" + "ow2Pos3Headrest\022\016\n\006Height\030\001 \001(\r\022\r\n\005Angle" + "\030\002 \001(\002\"4\n\036VehicleCabinSeatRow2Pos3Airbag" + "\022\022\n\nIsDeployed\030\001 \001(\010\"\254\004\n\036VehicleCabinSea" + "tRow2Pos3Switch\022\027\n\017IsWarmerEngaged\030\001 \001(\010" + "\022\027\n\017IsCoolerEngaged\030\002 \001(\010\022\030\n\020IsForwardEn" + "gaged\030\003 \001(\010\022\031\n\021IsBackwardEngaged\030\004 \001(\010\022\023" + "\n\013IsUpEngaged\030\005 \001(\010\022\025\n\rIsDownEngaged\030\006 \001" + "(\010\022\034\n\024IsTiltForwardEngaged\030\007 \001(\010\022\035\n\025IsTi" + "ltBackwardEngaged\030\010 \001(\010\022N\n\010Backrest\030\t \001(" + "\0132<.com.vehicle.messages.VehicleCabinSea" + "tRow2Pos3SwitchBackrest\022L\n\007Seating\030\n \001(\013" + "2;.com.vehicle.messages.VehicleCabinSeat" + "Row2Pos3SwitchSeating\022N\n\010Headrest\030\013 \001(\0132" + "<.com.vehicle.messages.VehicleCabinSeatR" + "ow2Pos3SwitchHeadrest\022L\n\007Massage\030\014 \001(\0132;" + ".com.vehicle.messages.VehicleCabinSeatRo" + "w2Pos3SwitchMassage\"\235\002\n&VehicleCabinSeat" + "Row2Pos3SwitchBackrest\022\037\n\027IsReclineForwa" + "rdEngaged\030\001 \001(\010\022 \n\030IsReclineBackwardEnga" + "ged\030\002 \001(\010\022R\n\006Lumbar\030\003 \001(\0132B.com.vehicle." + "messages.VehicleCabinSeatRow2Pos3SwitchB" + "ackrestLumbar\022\\\n\013SideBolster\030\004 \001(\0132G.com" + ".vehicle.messages.VehicleCabinSeatRow2Po" + "s3SwitchBackrestSideBolster\"\226\001\n,VehicleC" + "abinSeatRow2Pos3SwitchBackrestLumbar\022\034\n\024" + "IsMoreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSupp" + "ortEngaged\030\002 \001(\010\022\023\n\013IsUpEngaged\030\003 \001(\010\022\025\n" + "\rIsDownEngaged\030\004 \001(\010\"o\n1VehicleCabinSeat" + "Row2Pos3SwitchBackrestSideBolster\022\034\n\024IsM" + "oreSupportEngaged\030\001 \001(\010\022\034\n\024IsLessSupport" + "Engaged\030\002 \001(\010\"\\\n%VehicleCabinSeatRow2Pos" + "3SwitchSeating\022\030\n\020IsForwardEngaged\030\001 \001(\010" + "\022\031\n\021IsBackwardEngaged\030\002 \001(\010\"\211\001\n&VehicleC" + "abinSeatRow2Pos3SwitchHeadrest\022\023\n\013IsUpEn" + "gaged\030\001 \001(\010\022\025\n\rIsDownEngaged\030\002 \001(\010\022\030\n\020Is" + "ForwardEngaged\030\003 \001(\010\022\031\n\021IsBackwardEngage" + "d\030\004 \001(\010\"]\n%VehicleCabinSeatRow2Pos3Switc" + "hMassage\022\031\n\021IsIncreaseEngaged\030\001 \001(\010\022\031\n\021I" + "sDecreaseEngaged\030\002 \001(\010\")\n\027VehicleCabinCo" + "nvertible\022\016\n\006Status\030\001 \001(\t\"\270\004\n\013VehicleADA" + "S\022\033\n\023ActiveAutonomyLevel\030\001 \001(\t\022\036\n\026Suppor" + "tedAutonomyLevel\030\002 \001(\t\022E\n\rCruiseControl\030" + "\003 \001(\0132..com.vehicle.messages.VehicleADAS" + "CruiseControl\022W\n\026LaneDepartureDetection\030" + "\004 \001(\01327.com.vehicle.messages.VehicleADAS" + "LaneDepartureDetection\022M\n\021ObstacleDetect" + "ion\030\005 \001(\01322.com.vehicle.messages.Vehicle" + "ADASObstacleDetection\0221\n\003ABS\030\006 \001(\0132$.com" + ".vehicle.messages.VehicleADASABS\0221\n\003TCS\030" + "\007 \001(\0132$.com.vehicle.messages.VehicleADAS" + "TCS\0221\n\003ESC\030\010 \001(\0132$.com.vehicle.messages." + "VehicleADASESC\0221\n\003EBD\030\t \001(\0132$.com.vehicl" + "e.messages.VehicleADASEBD\0221\n\003EBA\030\n \001(\0132$" + ".com.vehicle.messages.VehicleADASEBA\"b\n\030" + "VehicleADASCruiseControl\022\021\n\tIsEnabled\030\001 " + "\001(\010\022\020\n\010IsActive\030\002 \001(\010\022\020\n\010SpeedSet\030\003 \001(\002\022" + "\017\n\007IsError\030\004 \001(\010\"Z\n!VehicleADASLaneDepar" + "tureDetection\022\021\n\tIsEnabled\030\001 \001(\010\022\021\n\tIsWa" + "rning\030\002 \001(\010\022\017\n\007IsError\030\003 \001(\010\"U\n\034VehicleA" + "DASObstacleDetection\022\021\n\tIsEnabled\030\001 \001(\010\022" + "\021\n\tIsWarning\030\002 \001(\010\022\017\n\007IsError\030\003 \001(\010\"G\n\016V" + "ehicleADASABS\022\021\n\tIsEnabled\030\001 \001(\010\022\017\n\007IsEr" + "ror\030\002 \001(\010\022\021\n\tIsEngaged\030\003 \001(\010\"G\n\016VehicleA" + "DASTCS\022\021\n\tIsEnabled\030\001 \001(\010\022\017\n\007IsError\030\002 \001" + "(\010\022\021\n\tIsEngaged\030\003 \001(\010\"\262\001\n\016VehicleADASESC" + "\022\021\n\tIsEnabled\030\001 \001(\010\022\017\n\007IsError\030\002 \001(\010\022\021\n\t" + "IsEngaged\030\003 \001(\010\022!\n\031IsStrongCrossWindDete" + "cted\030\004 \001(\010\022F\n\014RoadFriction\030\005 \001(\01320.com.v" + "ehicle.messages.VehicleADASESCRoadFricti" + "on\"Z\n\032VehicleADASESCRoadFriction\022\024\n\014Most" + "Probable\030\001 \001(\002\022\022\n\nLowerBound\030\002 \001(\002\022\022\n\nUp" + "perBound\030\003 \001(\002\"G\n\016VehicleADASEBD\022\021\n\tIsEn" + "abled\030\001 \001(\010\022\017\n\007IsError\030\002 \001(\010\022\021\n\tIsEngage" + "d\030\003 \001(\010\"G\n\016VehicleADASEBA\022\021\n\tIsEnabled\030\001" + " \001(\010\022\017\n\007IsError\030\002 \001(\010\022\021\n\tIsEngaged\030\003 \001(\010" + "\"\217\003\n\016VehicleChassis\022\021\n\tWheelbase\030\001 \001(\r\022\r" + "\n\005Track\030\002 \001(\r\0226\n\004Axle\030\003 \001(\0132(.com.vehicl" + "e.messages.VehicleChassisAxle\022\021\n\tAxleCou" + "nt\030\004 \001(\r\022F\n\014ParkingBrake\030\005 \001(\01320.com.veh" + "icle.messages.VehicleChassisParkingBrake" + "\022H\n\rSteeringWheel\030\006 \001(\01321.com.vehicle.me" + "ssages.VehicleChassisSteeringWheel\022D\n\013Ac" + "celerator\030\007 \001(\0132/.com.vehicle.messages.V" + "ehicleChassisAccelerator\0228\n\005Brake\030\010 \001(\0132" + ").com.vehicle.messages.VehicleChassisBra" + "ke\"\214\001\n\022VehicleChassisAxle\022:\n\004Row1\030\001 \001(\0132" + ",.com.vehicle.messages.VehicleChassisAxl" + "eRow1\022:\n\004Row2\030\002 \001(\0132,.com.vehicle.messag" + "es.VehicleChassisAxleRow2\"\333\001\n\026VehicleCha" + "ssisAxleRow1\022\022\n\nWheelCount\030\001 \001(\r\022\025\n\rWhee" + "lDiameter\030\002 \001(\002\022\022\n\nWheelWidth\030\003 \001(\002\022\024\n\014T" + "ireDiameter\030\004 \001(\002\022\021\n\tTireWidth\030\005 \001(\r\022\027\n\017" + "TireAspectRatio\030\006 \001(\r\022@\n\005Wheel\030\007 \001(\01321.c" + "om.vehicle.messages.VehicleChassisAxleRo" + "w1Wheel\"\251\001\n\033VehicleChassisAxleRow1Wheel\022" + "C\n\004Left\030\001 \001(\01325.com.vehicle.messages.Veh" + "icleChassisAxleRow1WheelLeft\022E\n\005Right\030\002 " + "\001(\01326.com.vehicle.messages.VehicleChassi" + "sAxleRow1WheelRight\"\304\001\n\037VehicleChassisAx" + "leRow1WheelLeft\022I\n\005Brake\030\001 \001(\0132:.com.veh" + "icle.messages.VehicleChassisAxleRow1Whee" + "lLeftBrake\022G\n\004Tire\030\002 \001(\01329.com.vehicle.m" + "essages.VehicleChassisAxleRow1WheelLeftT" + "ire\022\r\n\005Speed\030\003 \001(\002\"z\n$VehicleChassisAxle" + "Row1WheelLeftBrake\022\022\n\nFluidLevel\030\001 \001(\r\022\027" + "\n\017IsFluidLevelLow\030\002 \001(\010\022\017\n\007PadWear\030\003 \001(\r" + "\022\024\n\014IsBrakesWorn\030\004 \001(\010\"c\n#VehicleChassis" + "AxleRow1WheelLeftTire\022\020\n\010Pressure\030\001 \001(\r\022" + "\025\n\rIsPressureLow\030\002 \001(\010\022\023\n\013Temperature\030\003 " + "\001(\002\"\307\001\n VehicleChassisAxleRow1WheelRight" + "\022J\n\005Brake\030\001 \001(\0132;.com.vehicle.messages.V" + "ehicleChassisAxleRow1WheelRightBrake\022H\n\004" + "Tire\030\002 \001(\0132:.com.vehicle.messages.Vehicl" + "eChassisAxleRow1WheelRightTire\022\r\n\005Speed\030" + "\003 \001(\002\"{\n%VehicleChassisAxleRow1WheelRigh" + "tBrake\022\022\n\nFluidLevel\030\001 \001(\r\022\027\n\017IsFluidLev" + "elLow\030\002 \001(\010\022\017\n\007PadWear\030\003 \001(\r\022\024\n\014IsBrakes" + "Worn\030\004 \001(\010\"d\n$VehicleChassisAxleRow1Whee" + "lRightTire\022\020\n\010Pressure\030\001 \001(\r\022\025\n\rIsPressu" + "reLow\030\002 \001(\010\022\023\n\013Temperature\030\003 \001(\002\"\333\001\n\026Veh" + "icleChassisAxleRow2\022\022\n\nWheelCount\030\001 \001(\r\022" + "\025\n\rWheelDiameter\030\002 \001(\002\022\022\n\nWheelWidth\030\003 \001" + "(\002\022\024\n\014TireDiameter\030\004 \001(\002\022\021\n\tTireWidth\030\005 " + "\001(\r\022\027\n\017TireAspectRatio\030\006 \001(\r\022@\n\005Wheel\030\007 " + "\001(\01321.com.vehicle.messages.VehicleChassi" + "sAxleRow2Wheel\"\251\001\n\033VehicleChassisAxleRow" + "2Wheel\022C\n\004Left\030\001 \001(\01325.com.vehicle.messa" + "ges.VehicleChassisAxleRow2WheelLeft\022E\n\005R" + "ight\030\002 \001(\01326.com.vehicle.messages.Vehicl" + "eChassisAxleRow2WheelRight\"\304\001\n\037VehicleCh" + "assisAxleRow2WheelLeft\022I\n\005Brake\030\001 \001(\0132:." + "com.vehicle.messages.VehicleChassisAxleR" + "ow2WheelLeftBrake\022G\n\004Tire\030\002 \001(\01329.com.ve" + "hicle.messages.VehicleChassisAxleRow2Whe" + "elLeftTire\022\r\n\005Speed\030\003 \001(\002\"z\n$VehicleChas" + "sisAxleRow2WheelLeftBrake\022\022\n\nFluidLevel\030" + "\001 \001(\r\022\027\n\017IsFluidLevelLow\030\002 \001(\010\022\017\n\007PadWea" + "r\030\003 \001(\r\022\024\n\014IsBrakesWorn\030\004 \001(\010\"c\n#Vehicle" + "ChassisAxleRow2WheelLeftTire\022\020\n\010Pressure" + "\030\001 \001(\r\022\025\n\rIsPressureLow\030\002 \001(\010\022\023\n\013Tempera" + "ture\030\003 \001(\002\"\307\001\n VehicleChassisAxleRow2Whe" + "elRight\022J\n\005Brake\030\001 \001(\0132;.com.vehicle.mes" + "sages.VehicleChassisAxleRow2WheelRightBr" + "ake\022H\n\004Tire\030\002 \001(\0132:.com.vehicle.messages" + ".VehicleChassisAxleRow2WheelRightTire\022\r\n" + "\005Speed\030\003 \001(\002\"{\n%VehicleChassisAxleRow2Wh" + "eelRightBrake\022\022\n\nFluidLevel\030\001 \001(\r\022\027\n\017IsF" + "luidLevelLow\030\002 \001(\010\022\017\n\007PadWear\030\003 \001(\r\022\024\n\014I" + "sBrakesWorn\030\004 \001(\010\"d\n$VehicleChassisAxleR" + "ow2WheelRightTire\022\020\n\010Pressure\030\001 \001(\r\022\025\n\rI" + "sPressureLow\030\002 \001(\010\022\023\n\013Temperature\030\003 \001(\002\"" + "/\n\032VehicleChassisParkingBrake\022\021\n\tIsEngag" + "ed\030\001 \001(\010\"_\n\033VehicleChassisSteeringWheel\022" + "\r\n\005Angle\030\001 \001(\005\022\014\n\004Tilt\030\002 \001(\r\022\021\n\tExtensio" + "n\030\003 \001(\r\022\020\n\010Position\030\004 \001(\t\"2\n\031VehicleChas" + "sisAccelerator\022\025\n\rPedalPosition\030\001 \001(\r\"V\n" + "\023VehicleChassisBrake\022\025\n\rPedalPosition\030\001 " + "\001(\r\022(\n IsDriverEmergencyBrakingDetected\030" + "\002 \001(\010\"\343\017\n\nVehicleOBD\022\r\n\005PidsA\030\001 \001(\r\0226\n\006S" + "tatus\030\002 \001(\0132&.com.vehicle.messages.Vehic" + "leOBDStatus\022\017\n\007DTCList\030\003 \003(\t\022\021\n\tFreezeDT" + "C\030\004 \001(\t\022\022\n\nFuelStatus\030\005 \001(\t\022\022\n\nEngineLoa" + "d\030\006 \001(\002\022\032\n\022CoolantTemperature\030\007 \001(\002\022\032\n\022S" + "hortTermFuelTrim1\030\010 \001(\002\022\031\n\021LongTermFuelT" + "rim1\030\t \001(\002\022\032\n\022ShortTermFuelTrim2\030\n \001(\002\022\031" + "\n\021LongTermFuelTrim2\030\013 \001(\002\022\024\n\014FuelPressur" + "e\030\014 \001(\002\022\013\n\003MAP\030\r \001(\002\022\023\n\013EngineSpeed\030\016 \001(" + "\002\022\r\n\005Speed\030\017 \001(\002\022\025\n\rTimingAdvance\030\020 \001(\002\022" + "\022\n\nIntakeTemp\030\021 \001(\002\022\013\n\003MAF\030\022 \001(\002\022\030\n\020Thro" + "ttlePosition\030\023 \001(\002\022\021\n\tAirStatus\030\024 \001(\t\022\035\n" + "\025OxygenSensorsIn2Banks\030\025 \001(\r\022.\n\002O2\030\026 \001(\013" + "2\".com.vehicle.messages.VehicleOBDO2\022\024\n\014" + "OBDStandards\030\027 \001(\r\022\035\n\025OxygenSensorsIn4Ba" + "nks\030\030 \001(\r\022\023\n\013IsPTOActive\030\031 \001(\010\022\017\n\007RunTim" + "e\030\032 \001(\002\022\r\n\005PidsB\030\033 \001(\r\022\027\n\017DistanceWithMI" + "L\030\034 \001(\002\022\033\n\023FuelRailPressureVac\030\035 \001(\002\022\036\n\026" + "FuelRailPressureDirect\030\036 \001(\002\0222\n\004O2WR\030\037 \001" + "(\0132$.com.vehicle.messages.VehicleOBDO2WR" + "\022\024\n\014CommandedEGR\030 \001(\002\022\020\n\010EGRError\030! \001(\002" + "\022\025\n\rCommandedEVAP\030\" \001(\002\022\021\n\tFuelLevel\030# \001" + "(\002\022\034\n\024WarmupsSinceDTCClear\030$ \001(\r\022\035\n\025Dist" + "anceSinceDTCClear\030% \001(\002\022\031\n\021EVAPVaporPres" + "sure\030& \001(\002\022\032\n\022BarometricPressure\030\' \001(\002\022:" + "\n\010Catalyst\030( \001(\0132(.com.vehicle.messages." + "VehicleOBDCatalyst\022\r\n\005PidsC\030) \001(\r\022J\n\020Dri" + "veCycleStatus\030* \001(\01320.com.vehicle.messag" + "es.VehicleOBDDriveCycleStatus\022\034\n\024Control" + "ModuleVoltage\030+ \001(\002\022\024\n\014AbsoluteLoad\030, \001(" + "\002\022!\n\031CommandedEquivalenceRatio\030- \001(\002\022 \n\030" + "RelativeThrottlePosition\030. \001(\002\022\035\n\025Ambien" + "tAirTemperature\030/ \001(\002\022\031\n\021ThrottlePositio" + "nB\0300 \001(\002\022\031\n\021ThrottlePositionC\0301 \001(\002\022\034\n\024A" + "cceleratorPositionD\0302 \001(\002\022\034\n\024Accelerator" + "PositionE\0303 \001(\002\022\034\n\024AcceleratorPositionF\030" + "4 \001(\002\022\030\n\020ThrottleActuator\0305 \001(\002\022\022\n\nRunTi" + "meMIL\0306 \001(\002\022\033\n\023TimeSinceDTCCleared\0307 \001(\002" + "\022\016\n\006MaxMAF\0308 \001(\002\022\020\n\010FuelType\0309 \001(\t\022\026\n\016Et" + "hanolPercent\030: \001(\002\022!\n\031EVAPVaporPressureA" + "bsolute\030; \001(\002\022\"\n\032EVAPVaporPressureAltern" + "ate\030< \001(\002\022\030\n\020ShortTermO2Trim1\030= \001(\002\022\030\n\020S" + "hortTermO2Trim3\030> \001(\002\022\027\n\017LongTermO2Trim1" + "\030\? \001(\002\022\027\n\017LongTermO2Trim3\030@ \001(\002\022\030\n\020Short" + "TermO2Trim2\030A \001(\002\022\030\n\020ShortTermO2Trim4\030B " + "\001(\002\022\027\n\017LongTermO2Trim2\030C \001(\002\022\027\n\017LongTerm" + "O2Trim4\030D \001(\002\022 \n\030FuelRailPressureAbsolut" + "e\030E \001(\002\022#\n\033RelativeAcceleratorPosition\030F" + " \001(\002\022\036\n\026HybridBatteryRemaining\030G \001(\002\022\026\n\016" + "OilTemperature\030H \001(\002\022\033\n\023FuelInjectionTim" + "ing\030I \001(\002\022\020\n\010FuelRate\030J \001(\002\"K\n\020VehicleOB" + "DStatus\022\017\n\007IsMILOn\030\001 \001(\010\022\020\n\010DTCCount\030\002 \001" + "(\r\022\024\n\014IgnitionType\030\003 \001(\t\"\356\003\n\014VehicleOBDO" + "2\022:\n\007Sensor1\030\001 \001(\0132).com.vehicle.message" + "s.VehicleOBDO2Sensor1\022:\n\007Sensor2\030\002 \001(\0132)" + ".com.vehicle.messages.VehicleOBDO2Sensor" + "2\022:\n\007Sensor3\030\003 \001(\0132).com.vehicle.message" + "s.VehicleOBDO2Sensor3\022:\n\007Sensor4\030\004 \001(\0132)" + ".com.vehicle.messages.VehicleOBDO2Sensor" + "4\022:\n\007Sensor5\030\005 \001(\0132).com.vehicle.message" + "s.VehicleOBDO2Sensor5\022:\n\007Sensor6\030\006 \001(\0132)" + ".com.vehicle.messages.VehicleOBDO2Sensor" + "6\022:\n\007Sensor7\030\007 \001(\0132).com.vehicle.message" + "s.VehicleOBDO2Sensor7\022:\n\007Sensor8\030\010 \001(\0132)" + ".com.vehicle.messages.VehicleOBDO2Sensor" + "8\"A\n\023VehicleOBDO2Sensor1\022\017\n\007Voltage\030\001 \001(" + "\002\022\031\n\021ShortTermFuelTrim\030\002 \001(\002\"A\n\023VehicleO" + "BDO2Sensor2\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021ShortTer" + "mFuelTrim\030\002 \001(\002\"A\n\023VehicleOBDO2Sensor3\022\017" + "\n\007Voltage\030\001 \001(\002\022\031\n\021ShortTermFuelTrim\030\002 \001" + "(\002\"A\n\023VehicleOBDO2Sensor4\022\017\n\007Voltage\030\001 \001" + "(\002\022\031\n\021ShortTermFuelTrim\030\002 \001(\002\"A\n\023Vehicle" + "OBDO2Sensor5\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021ShortTe" + "rmFuelTrim\030\002 \001(\002\"A\n\023VehicleOBDO2Sensor6\022" + "\017\n\007Voltage\030\001 \001(\002\022\031\n\021ShortTermFuelTrim\030\002 " + "\001(\002\"A\n\023VehicleOBDO2Sensor7\022\017\n\007Voltage\030\001 " + "\001(\002\022\031\n\021ShortTermFuelTrim\030\002 \001(\002\"A\n\023Vehicl" + "eOBDO2Sensor8\022\017\n\007Voltage\030\001 \001(\002\022\031\n\021ShortT" + "ermFuelTrim\030\002 \001(\002\"\200\004\n\016VehicleOBDO2WR\022<\n\007" + "Sensor1\030\001 \001(\0132+.com.vehicle.messages.Veh" + "icleOBDO2WRSensor1\022<\n\007Sensor2\030\002 \001(\0132+.co" + "m.vehicle.messages.VehicleOBDO2WRSensor2" + "\022<\n\007Sensor3\030\003 \001(\0132+.com.vehicle.messages" + ".VehicleOBDO2WRSensor3\022<\n\007Sensor4\030\004 \001(\0132" + "+.com.vehicle.messages.VehicleOBDO2WRSen" + "sor4\022<\n\007Sensor5\030\005 \001(\0132+.com.vehicle.mess" + "ages.VehicleOBDO2WRSensor5\022<\n\007Sensor6\030\006 " + "\001(\0132+.com.vehicle.messages.VehicleOBDO2W" + "RSensor6\022<\n\007Sensor7\030\007 \001(\0132+.com.vehicle." + "messages.VehicleOBDO2WRSensor7\022<\n\007Sensor" + "8\030\010 \001(\0132+.com.vehicle.messages.VehicleOB" + "DO2WRSensor8\"I\n\025VehicleOBDO2WRSensor1\022\016\n" + "\006Lambda\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007Curren" + "t\030\003 \001(\002\"I\n\025VehicleOBDO2WRSensor2\022\016\n\006Lamb" + "da\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007Current\030\003 \001" + "(\002\"I\n\025VehicleOBDO2WRSensor3\022\016\n\006Lambda\030\001 " + "\001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007Current\030\003 \001(\002\"I\n" + "\025VehicleOBDO2WRSensor4\022\016\n\006Lambda\030\001 \001(\002\022\017" + "\n\007Voltage\030\002 \001(\002\022\017\n\007Current\030\003 \001(\002\"I\n\025Vehi" + "cleOBDO2WRSensor5\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007Vol" + "tage\030\002 \001(\002\022\017\n\007Current\030\003 \001(\002\"I\n\025VehicleOB" + "DO2WRSensor6\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007Voltage\030" + "\002 \001(\002\022\017\n\007Current\030\003 \001(\002\"I\n\025VehicleOBDO2WR" + "Sensor7\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002" + "\022\017\n\007Current\030\003 \001(\002\"I\n\025VehicleOBDO2WRSenso" + "r8\022\016\n\006Lambda\030\001 \001(\002\022\017\n\007Voltage\030\002 \001(\002\022\017\n\007C" + "urrent\030\003 \001(\002\"\220\001\n\022VehicleOBDCatalyst\022<\n\005B" + "ank1\030\001 \001(\0132-.com.vehicle.messages.Vehicl" + "eOBDCatalystBank1\022<\n\005Bank2\030\002 \001(\0132-.com.v" + "ehicle.messages.VehicleOBDCatalystBank2\"" + "E\n\027VehicleOBDCatalystBank1\022\024\n\014Temperatur" + "e1\030\001 \001(\002\022\024\n\014Temperature2\030\002 \001(\002\"E\n\027Vehicl" + "eOBDCatalystBank2\022\024\n\014Temperature1\030\001 \001(\002\022" + "\024\n\014Temperature2\030\002 \001(\002\"U\n\032VehicleOBDDrive" + "CycleStatus\022\017\n\007IsMILOn\030\001 \001(\010\022\020\n\010DTCCount" + "\030\002 \001(\r\022\024\n\014IgnitionType\030\003 \001(\t\"\311\001\n\rVehicle" + "Driver\022A\n\nIdentifier\030\001 \001(\0132-.com.vehicle" + ".messages.VehicleDriverIdentifier\022\030\n\020Dis" + "tractionLevel\030\002 \001(\002\022\024\n\014IsEyesOnRoad\030\003 \001(" + "\010\022\034\n\024AttentiveProbability\030\004 \001(\002\022\024\n\014Fatig" + "ueLevel\030\005 \001(\002\022\021\n\tHeartRate\030\006 \001(\r\":\n\027Vehi" + "cleDriverIdentifier\022\017\n\007Subject\030\001 \001(\t\022\016\n\006" + "Issuer\030\002 \001(\t\"S\n\017VehicleExterior\022\026\n\016AirTe" + "mperature\030\001 \001(\002\022\020\n\010Humidity\030\002 \001(\002\022\026\n\016Lig" + "htIntensity\030\003 \001(\002\"X\n\016VehicleService\022\024\n\014I" + "sServiceDue\030\001 \001(\010\022\031\n\021DistanceToService\030\002" + " \001(\002\022\025\n\rTimeToService\030\003 \001(\005\"6\n\023VehicleCo" + "nnectivity\022\037\n\027IsConnectivityAvailable\030\001 " + "\001(\010b\006proto3" + ; +static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_V2C_2fvspec_2eproto_deps[1] = { +}; +static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_V2C_2fvspec_2eproto_sccs[269] = { + &scc_info_Vehicle_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADAS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASABS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASEBA_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASEBD_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASESC_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleADASTCS_V2C_2fvspec_2eproto.base, + &scc_info_VehicleAcceleration_V2C_2fvspec_2eproto.base, + &scc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBody_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyHood_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyHorn_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLights_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto.base, + &scc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabin_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoor_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLights_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeat_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassis_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxle_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto.base, + &scc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto.base, + &scc_info_VehicleConnectivity_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto.base, + &scc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto.base, + &scc_info_VehicleDriver_V2C_2fvspec_2eproto.base, + &scc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto.base, + &scc_info_VehicleExterior_V2C_2fvspec_2eproto.base, + &scc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBD_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto.base, + &scc_info_VehicleOBDStatus_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrain_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto.base, + &scc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto.base, + &scc_info_VehicleService_V2C_2fvspec_2eproto.base, + &scc_info_VehicleTrailer_V2C_2fvspec_2eproto.base, + &scc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto.base, + &scc_info_VehicleVersionVSS_V2C_2fvspec_2eproto.base, +}; +static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_V2C_2fvspec_2eproto_once; +static bool descriptor_table_V2C_2fvspec_2eproto_initialized = false; +const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_V2C_2fvspec_2eproto = { + &descriptor_table_V2C_2fvspec_2eproto_initialized, descriptor_table_protodef_V2C_2fvspec_2eproto, "V2C/vspec.proto", 46611, + &descriptor_table_V2C_2fvspec_2eproto_once, descriptor_table_V2C_2fvspec_2eproto_sccs, descriptor_table_V2C_2fvspec_2eproto_deps, 269, 0, + schemas, file_default_instances, TableStruct_V2C_2fvspec_2eproto::offsets, + file_level_metadata_V2C_2fvspec_2eproto, 269, file_level_enum_descriptors_V2C_2fvspec_2eproto, file_level_service_descriptors_V2C_2fvspec_2eproto, +}; + +// Force running AddDescriptors() at dynamic initialization time. +static bool dynamic_init_dummy_V2C_2fvspec_2eproto = ( ::PROTOBUF_NAMESPACE_ID::internal::AddDescriptors(&descriptor_table_V2C_2fvspec_2eproto), true); +namespace com { +namespace vehicle { +namespace messages { + +// =================================================================== + +void Vehicle::InitAsDefaultInstance() { + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->versionvss_ = const_cast< ::com::vehicle::messages::VehicleVersionVSS*>( + ::com::vehicle::messages::VehicleVersionVSS::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->vehicleidentification_ = const_cast< ::com::vehicle::messages::VehicleVehicleIdentification*>( + ::com::vehicle::messages::VehicleVehicleIdentification::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->lowvoltagebattery_ = const_cast< ::com::vehicle::messages::VehicleLowVoltageBattery*>( + ::com::vehicle::messages::VehicleLowVoltageBattery::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->acceleration_ = const_cast< ::com::vehicle::messages::VehicleAcceleration*>( + ::com::vehicle::messages::VehicleAcceleration::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->angularvelocity_ = const_cast< ::com::vehicle::messages::VehicleAngularVelocity*>( + ::com::vehicle::messages::VehicleAngularVelocity::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->trailer_ = const_cast< ::com::vehicle::messages::VehicleTrailer*>( + ::com::vehicle::messages::VehicleTrailer::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->currentlocation_ = const_cast< ::com::vehicle::messages::VehicleCurrentLocation*>( + ::com::vehicle::messages::VehicleCurrentLocation::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->powertrain_ = const_cast< ::com::vehicle::messages::VehiclePowertrain*>( + ::com::vehicle::messages::VehiclePowertrain::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->body_ = const_cast< ::com::vehicle::messages::VehicleBody*>( + ::com::vehicle::messages::VehicleBody::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->cabin_ = const_cast< ::com::vehicle::messages::VehicleCabin*>( + ::com::vehicle::messages::VehicleCabin::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->adas_ = const_cast< ::com::vehicle::messages::VehicleADAS*>( + ::com::vehicle::messages::VehicleADAS::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->chassis_ = const_cast< ::com::vehicle::messages::VehicleChassis*>( + ::com::vehicle::messages::VehicleChassis::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->obd_ = const_cast< ::com::vehicle::messages::VehicleOBD*>( + ::com::vehicle::messages::VehicleOBD::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->driver_ = const_cast< ::com::vehicle::messages::VehicleDriver*>( + ::com::vehicle::messages::VehicleDriver::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->exterior_ = const_cast< ::com::vehicle::messages::VehicleExterior*>( + ::com::vehicle::messages::VehicleExterior::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->service_ = const_cast< ::com::vehicle::messages::VehicleService*>( + ::com::vehicle::messages::VehicleService::internal_default_instance()); + ::com::vehicle::messages::_Vehicle_default_instance_._instance.get_mutable()->connectivity_ = const_cast< ::com::vehicle::messages::VehicleConnectivity*>( + ::com::vehicle::messages::VehicleConnectivity::internal_default_instance()); +} +class Vehicle::_Internal { + public: + static const ::com::vehicle::messages::VehicleVersionVSS& versionvss(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleVehicleIdentification& vehicleidentification(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleLowVoltageBattery& lowvoltagebattery(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleAcceleration& acceleration(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleAngularVelocity& angularvelocity(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleTrailer& trailer(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleCurrentLocation& currentlocation(const Vehicle* msg); + static const ::com::vehicle::messages::VehiclePowertrain& powertrain(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleBody& body(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleCabin& cabin(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleADAS& adas(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleChassis& chassis(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleOBD& obd(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleDriver& driver(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleExterior& exterior(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleService& service(const Vehicle* msg); + static const ::com::vehicle::messages::VehicleConnectivity& connectivity(const Vehicle* msg); +}; + +const ::com::vehicle::messages::VehicleVersionVSS& +Vehicle::_Internal::versionvss(const Vehicle* msg) { + return *msg->versionvss_; +} +const ::com::vehicle::messages::VehicleVehicleIdentification& +Vehicle::_Internal::vehicleidentification(const Vehicle* msg) { + return *msg->vehicleidentification_; +} +const ::com::vehicle::messages::VehicleLowVoltageBattery& +Vehicle::_Internal::lowvoltagebattery(const Vehicle* msg) { + return *msg->lowvoltagebattery_; +} +const ::com::vehicle::messages::VehicleAcceleration& +Vehicle::_Internal::acceleration(const Vehicle* msg) { + return *msg->acceleration_; +} +const ::com::vehicle::messages::VehicleAngularVelocity& +Vehicle::_Internal::angularvelocity(const Vehicle* msg) { + return *msg->angularvelocity_; +} +const ::com::vehicle::messages::VehicleTrailer& +Vehicle::_Internal::trailer(const Vehicle* msg) { + return *msg->trailer_; +} +const ::com::vehicle::messages::VehicleCurrentLocation& +Vehicle::_Internal::currentlocation(const Vehicle* msg) { + return *msg->currentlocation_; +} +const ::com::vehicle::messages::VehiclePowertrain& +Vehicle::_Internal::powertrain(const Vehicle* msg) { + return *msg->powertrain_; +} +const ::com::vehicle::messages::VehicleBody& +Vehicle::_Internal::body(const Vehicle* msg) { + return *msg->body_; +} +const ::com::vehicle::messages::VehicleCabin& +Vehicle::_Internal::cabin(const Vehicle* msg) { + return *msg->cabin_; +} +const ::com::vehicle::messages::VehicleADAS& +Vehicle::_Internal::adas(const Vehicle* msg) { + return *msg->adas_; +} +const ::com::vehicle::messages::VehicleChassis& +Vehicle::_Internal::chassis(const Vehicle* msg) { + return *msg->chassis_; +} +const ::com::vehicle::messages::VehicleOBD& +Vehicle::_Internal::obd(const Vehicle* msg) { + return *msg->obd_; +} +const ::com::vehicle::messages::VehicleDriver& +Vehicle::_Internal::driver(const Vehicle* msg) { + return *msg->driver_; +} +const ::com::vehicle::messages::VehicleExterior& +Vehicle::_Internal::exterior(const Vehicle* msg) { + return *msg->exterior_; +} +const ::com::vehicle::messages::VehicleService& +Vehicle::_Internal::service(const Vehicle* msg) { + return *msg->service_; +} +const ::com::vehicle::messages::VehicleConnectivity& +Vehicle::_Internal::connectivity(const Vehicle* msg) { + return *msg->connectivity_; +} +Vehicle::Vehicle() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.Vehicle) +} +Vehicle::Vehicle(const Vehicle& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + lowvoltagesystemstate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_lowvoltagesystemstate().empty()) { + lowvoltagesystemstate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.lowvoltagesystemstate_); + } + if (from._internal_has_versionvss()) { + versionvss_ = new ::com::vehicle::messages::VehicleVersionVSS(*from.versionvss_); + } else { + versionvss_ = nullptr; + } + if (from._internal_has_vehicleidentification()) { + vehicleidentification_ = new ::com::vehicle::messages::VehicleVehicleIdentification(*from.vehicleidentification_); + } else { + vehicleidentification_ = nullptr; + } + if (from._internal_has_lowvoltagebattery()) { + lowvoltagebattery_ = new ::com::vehicle::messages::VehicleLowVoltageBattery(*from.lowvoltagebattery_); + } else { + lowvoltagebattery_ = nullptr; + } + if (from._internal_has_acceleration()) { + acceleration_ = new ::com::vehicle::messages::VehicleAcceleration(*from.acceleration_); + } else { + acceleration_ = nullptr; + } + if (from._internal_has_angularvelocity()) { + angularvelocity_ = new ::com::vehicle::messages::VehicleAngularVelocity(*from.angularvelocity_); + } else { + angularvelocity_ = nullptr; + } + if (from._internal_has_trailer()) { + trailer_ = new ::com::vehicle::messages::VehicleTrailer(*from.trailer_); + } else { + trailer_ = nullptr; + } + if (from._internal_has_currentlocation()) { + currentlocation_ = new ::com::vehicle::messages::VehicleCurrentLocation(*from.currentlocation_); + } else { + currentlocation_ = nullptr; + } + if (from._internal_has_powertrain()) { + powertrain_ = new ::com::vehicle::messages::VehiclePowertrain(*from.powertrain_); + } else { + powertrain_ = nullptr; + } + if (from._internal_has_body()) { + body_ = new ::com::vehicle::messages::VehicleBody(*from.body_); + } else { + body_ = nullptr; + } + if (from._internal_has_cabin()) { + cabin_ = new ::com::vehicle::messages::VehicleCabin(*from.cabin_); + } else { + cabin_ = nullptr; + } + if (from._internal_has_adas()) { + adas_ = new ::com::vehicle::messages::VehicleADAS(*from.adas_); + } else { + adas_ = nullptr; + } + if (from._internal_has_chassis()) { + chassis_ = new ::com::vehicle::messages::VehicleChassis(*from.chassis_); + } else { + chassis_ = nullptr; + } + if (from._internal_has_obd()) { + obd_ = new ::com::vehicle::messages::VehicleOBD(*from.obd_); + } else { + obd_ = nullptr; + } + if (from._internal_has_driver()) { + driver_ = new ::com::vehicle::messages::VehicleDriver(*from.driver_); + } else { + driver_ = nullptr; + } + if (from._internal_has_exterior()) { + exterior_ = new ::com::vehicle::messages::VehicleExterior(*from.exterior_); + } else { + exterior_ = nullptr; + } + if (from._internal_has_service()) { + service_ = new ::com::vehicle::messages::VehicleService(*from.service_); + } else { + service_ = nullptr; + } + if (from._internal_has_connectivity()) { + connectivity_ = new ::com::vehicle::messages::VehicleConnectivity(*from.connectivity_); + } else { + connectivity_ = nullptr; + } + ::memcpy(&speed_, &from.speed_, + static_cast<size_t>(reinterpret_cast<char*>(&width_) - + reinterpret_cast<char*>(&speed_)) + sizeof(width_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.Vehicle) +} + +void Vehicle::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_Vehicle_V2C_2fvspec_2eproto.base); + lowvoltagesystemstate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&versionvss_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&width_) - + reinterpret_cast<char*>(&versionvss_)) + sizeof(width_)); +} + +Vehicle::~Vehicle() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.Vehicle) + SharedDtor(); +} + +void Vehicle::SharedDtor() { + lowvoltagesystemstate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete versionvss_; + if (this != internal_default_instance()) delete vehicleidentification_; + if (this != internal_default_instance()) delete lowvoltagebattery_; + if (this != internal_default_instance()) delete acceleration_; + if (this != internal_default_instance()) delete angularvelocity_; + if (this != internal_default_instance()) delete trailer_; + if (this != internal_default_instance()) delete currentlocation_; + if (this != internal_default_instance()) delete powertrain_; + if (this != internal_default_instance()) delete body_; + if (this != internal_default_instance()) delete cabin_; + if (this != internal_default_instance()) delete adas_; + if (this != internal_default_instance()) delete chassis_; + if (this != internal_default_instance()) delete obd_; + if (this != internal_default_instance()) delete driver_; + if (this != internal_default_instance()) delete exterior_; + if (this != internal_default_instance()) delete service_; + if (this != internal_default_instance()) delete connectivity_; +} + +void Vehicle::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const Vehicle& Vehicle::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_Vehicle_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void Vehicle::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.Vehicle) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + lowvoltagesystemstate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && versionvss_ != nullptr) { + delete versionvss_; + } + versionvss_ = nullptr; + if (GetArenaNoVirtual() == nullptr && vehicleidentification_ != nullptr) { + delete vehicleidentification_; + } + vehicleidentification_ = nullptr; + if (GetArenaNoVirtual() == nullptr && lowvoltagebattery_ != nullptr) { + delete lowvoltagebattery_; + } + lowvoltagebattery_ = nullptr; + if (GetArenaNoVirtual() == nullptr && acceleration_ != nullptr) { + delete acceleration_; + } + acceleration_ = nullptr; + if (GetArenaNoVirtual() == nullptr && angularvelocity_ != nullptr) { + delete angularvelocity_; + } + angularvelocity_ = nullptr; + if (GetArenaNoVirtual() == nullptr && trailer_ != nullptr) { + delete trailer_; + } + trailer_ = nullptr; + if (GetArenaNoVirtual() == nullptr && currentlocation_ != nullptr) { + delete currentlocation_; + } + currentlocation_ = nullptr; + if (GetArenaNoVirtual() == nullptr && powertrain_ != nullptr) { + delete powertrain_; + } + powertrain_ = nullptr; + if (GetArenaNoVirtual() == nullptr && body_ != nullptr) { + delete body_; + } + body_ = nullptr; + if (GetArenaNoVirtual() == nullptr && cabin_ != nullptr) { + delete cabin_; + } + cabin_ = nullptr; + if (GetArenaNoVirtual() == nullptr && adas_ != nullptr) { + delete adas_; + } + adas_ = nullptr; + if (GetArenaNoVirtual() == nullptr && chassis_ != nullptr) { + delete chassis_; + } + chassis_ = nullptr; + if (GetArenaNoVirtual() == nullptr && obd_ != nullptr) { + delete obd_; + } + obd_ = nullptr; + if (GetArenaNoVirtual() == nullptr && driver_ != nullptr) { + delete driver_; + } + driver_ = nullptr; + if (GetArenaNoVirtual() == nullptr && exterior_ != nullptr) { + delete exterior_; + } + exterior_ = nullptr; + if (GetArenaNoVirtual() == nullptr && service_ != nullptr) { + delete service_; + } + service_ = nullptr; + if (GetArenaNoVirtual() == nullptr && connectivity_ != nullptr) { + delete connectivity_; + } + connectivity_ = nullptr; + ::memset(&speed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&width_) - + reinterpret_cast<char*>(&speed_)) + sizeof(width_)); + _internal_metadata_.Clear(); +} + +const char* Vehicle::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleVersionVSS VersionVSS = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_versionvss(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleVehicleIdentification VehicleIdentification = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_vehicleidentification(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string LowVoltageSystemState = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_lowvoltagesystemstate(), ptr, ctx, "com.vehicle.messages.Vehicle.LowVoltageSystemState"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleLowVoltageBattery LowVoltageBattery = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_lowvoltagebattery(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Speed = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TravelledDistance = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { + travelleddistance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TripMeterReading = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 61)) { + tripmeterreading_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // bool IsBrokenDown = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + isbrokendown_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsMoving = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + ismoving_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float AverageSpeed = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) { + averagespeed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleAcceleration Acceleration = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_acceleration(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleAngularVelocity AngularVelocity = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_angularvelocity(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 RoofLoad = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 104)) { + roofload_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float CargoVolume = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 117)) { + cargovolume_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // int32 EmissionsCO2 = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { + emissionsco2_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 CurrentOverallWeight = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) { + currentoverallweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 CurbWeight = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) { + curbweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 GrossWeight = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 144)) { + grossweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxTowWeight = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 152)) { + maxtowweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxTowBallWeight = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) { + maxtowballweight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Length = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Width = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) { + width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleTrailer Trailer = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 194)) { + ptr = ctx->ParseMessage(_internal_mutable_trailer(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCurrentLocation CurrentLocation = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) { + ptr = ctx->ParseMessage(_internal_mutable_currentlocation(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrain Powertrain = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 210)) { + ptr = ctx->ParseMessage(_internal_mutable_powertrain(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBody Body = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 218)) { + ptr = ctx->ParseMessage(_internal_mutable_body(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabin Cabin = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) { + ptr = ctx->ParseMessage(_internal_mutable_cabin(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADAS ADAS = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) { + ptr = ctx->ParseMessage(_internal_mutable_adas(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassis Chassis = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 242)) { + ptr = ctx->ParseMessage(_internal_mutable_chassis(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBD OBD = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 250)) { + ptr = ctx->ParseMessage(_internal_mutable_obd(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleDriver Driver = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 2)) { + ptr = ctx->ParseMessage(_internal_mutable_driver(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleExterior Exterior = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_exterior(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleService Service = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_service(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleConnectivity Connectivity = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_connectivity(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* Vehicle::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.Vehicle) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleVersionVSS VersionVSS = 1; + if (this->has_versionvss()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::versionvss(this), target, stream); + } + + // .com.vehicle.messages.VehicleVehicleIdentification VehicleIdentification = 2; + if (this->has_vehicleidentification()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::vehicleidentification(this), target, stream); + } + + // string LowVoltageSystemState = 3; + if (this->lowvoltagesystemstate().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_lowvoltagesystemstate().data(), static_cast<int>(this->_internal_lowvoltagesystemstate().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.Vehicle.LowVoltageSystemState"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_lowvoltagesystemstate(), target); + } + + // .com.vehicle.messages.VehicleLowVoltageBattery LowVoltageBattery = 4; + if (this->has_lowvoltagebattery()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::lowvoltagebattery(this), target, stream); + } + + // float Speed = 5; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_speed(), target); + } + + // float TravelledDistance = 6; + if (!(this->travelleddistance() <= 0 && this->travelleddistance() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_travelleddistance(), target); + } + + // float TripMeterReading = 7; + if (!(this->tripmeterreading() <= 0 && this->tripmeterreading() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(7, this->_internal_tripmeterreading(), target); + } + + // bool IsBrokenDown = 8; + if (this->isbrokendown() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_isbrokendown(), target); + } + + // bool IsMoving = 9; + if (this->ismoving() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_ismoving(), target); + } + + // float AverageSpeed = 10; + if (!(this->averagespeed() <= 0 && this->averagespeed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_averagespeed(), target); + } + + // .com.vehicle.messages.VehicleAcceleration Acceleration = 11; + if (this->has_acceleration()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::acceleration(this), target, stream); + } + + // .com.vehicle.messages.VehicleAngularVelocity AngularVelocity = 12; + if (this->has_angularvelocity()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::angularvelocity(this), target, stream); + } + + // int32 RoofLoad = 13; + if (this->roofload() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(13, this->_internal_roofload(), target); + } + + // float CargoVolume = 14; + if (!(this->cargovolume() <= 0 && this->cargovolume() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(14, this->_internal_cargovolume(), target); + } + + // int32 EmissionsCO2 = 15; + if (this->emissionsco2() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(15, this->_internal_emissionsco2(), target); + } + + // uint32 CurrentOverallWeight = 16; + if (this->currentoverallweight() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(16, this->_internal_currentoverallweight(), target); + } + + // uint32 CurbWeight = 17; + if (this->curbweight() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(17, this->_internal_curbweight(), target); + } + + // uint32 GrossWeight = 18; + if (this->grossweight() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(18, this->_internal_grossweight(), target); + } + + // uint32 MaxTowWeight = 19; + if (this->maxtowweight() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(19, this->_internal_maxtowweight(), target); + } + + // uint32 MaxTowBallWeight = 20; + if (this->maxtowballweight() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(20, this->_internal_maxtowballweight(), target); + } + + // uint32 Length = 21; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(21, this->_internal_length(), target); + } + + // uint32 Height = 22; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(22, this->_internal_height(), target); + } + + // uint32 Width = 23; + if (this->width() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(23, this->_internal_width(), target); + } + + // .com.vehicle.messages.VehicleTrailer Trailer = 24; + if (this->has_trailer()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 24, _Internal::trailer(this), target, stream); + } + + // .com.vehicle.messages.VehicleCurrentLocation CurrentLocation = 25; + if (this->has_currentlocation()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 25, _Internal::currentlocation(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrain Powertrain = 26; + if (this->has_powertrain()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 26, _Internal::powertrain(this), target, stream); + } + + // .com.vehicle.messages.VehicleBody Body = 27; + if (this->has_body()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 27, _Internal::body(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabin Cabin = 28; + if (this->has_cabin()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 28, _Internal::cabin(this), target, stream); + } + + // .com.vehicle.messages.VehicleADAS ADAS = 29; + if (this->has_adas()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 29, _Internal::adas(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassis Chassis = 30; + if (this->has_chassis()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 30, _Internal::chassis(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBD OBD = 31; + if (this->has_obd()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 31, _Internal::obd(this), target, stream); + } + + // .com.vehicle.messages.VehicleDriver Driver = 32; + if (this->has_driver()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 32, _Internal::driver(this), target, stream); + } + + // .com.vehicle.messages.VehicleExterior Exterior = 33; + if (this->has_exterior()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 33, _Internal::exterior(this), target, stream); + } + + // .com.vehicle.messages.VehicleService Service = 34; + if (this->has_service()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 34, _Internal::service(this), target, stream); + } + + // .com.vehicle.messages.VehicleConnectivity Connectivity = 35; + if (this->has_connectivity()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 35, _Internal::connectivity(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.Vehicle) + return target; +} + +size_t Vehicle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.Vehicle) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string LowVoltageSystemState = 3; + if (this->lowvoltagesystemstate().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_lowvoltagesystemstate()); + } + + // .com.vehicle.messages.VehicleVersionVSS VersionVSS = 1; + if (this->has_versionvss()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *versionvss_); + } + + // .com.vehicle.messages.VehicleVehicleIdentification VehicleIdentification = 2; + if (this->has_vehicleidentification()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *vehicleidentification_); + } + + // .com.vehicle.messages.VehicleLowVoltageBattery LowVoltageBattery = 4; + if (this->has_lowvoltagebattery()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lowvoltagebattery_); + } + + // .com.vehicle.messages.VehicleAcceleration Acceleration = 11; + if (this->has_acceleration()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *acceleration_); + } + + // .com.vehicle.messages.VehicleAngularVelocity AngularVelocity = 12; + if (this->has_angularvelocity()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *angularvelocity_); + } + + // .com.vehicle.messages.VehicleTrailer Trailer = 24; + if (this->has_trailer()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *trailer_); + } + + // .com.vehicle.messages.VehicleCurrentLocation CurrentLocation = 25; + if (this->has_currentlocation()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *currentlocation_); + } + + // .com.vehicle.messages.VehiclePowertrain Powertrain = 26; + if (this->has_powertrain()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *powertrain_); + } + + // .com.vehicle.messages.VehicleBody Body = 27; + if (this->has_body()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *body_); + } + + // .com.vehicle.messages.VehicleCabin Cabin = 28; + if (this->has_cabin()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *cabin_); + } + + // .com.vehicle.messages.VehicleADAS ADAS = 29; + if (this->has_adas()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *adas_); + } + + // .com.vehicle.messages.VehicleChassis Chassis = 30; + if (this->has_chassis()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *chassis_); + } + + // .com.vehicle.messages.VehicleOBD OBD = 31; + if (this->has_obd()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *obd_); + } + + // .com.vehicle.messages.VehicleDriver Driver = 32; + if (this->has_driver()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *driver_); + } + + // .com.vehicle.messages.VehicleExterior Exterior = 33; + if (this->has_exterior()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *exterior_); + } + + // .com.vehicle.messages.VehicleService Service = 34; + if (this->has_service()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *service_); + } + + // .com.vehicle.messages.VehicleConnectivity Connectivity = 35; + if (this->has_connectivity()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *connectivity_); + } + + // float Speed = 5; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + total_size += 1 + 4; + } + + // float TravelledDistance = 6; + if (!(this->travelleddistance() <= 0 && this->travelleddistance() >= 0)) { + total_size += 1 + 4; + } + + // float TripMeterReading = 7; + if (!(this->tripmeterreading() <= 0 && this->tripmeterreading() >= 0)) { + total_size += 1 + 4; + } + + // bool IsBrokenDown = 8; + if (this->isbrokendown() != 0) { + total_size += 1 + 1; + } + + // bool IsMoving = 9; + if (this->ismoving() != 0) { + total_size += 1 + 1; + } + + // float AverageSpeed = 10; + if (!(this->averagespeed() <= 0 && this->averagespeed() >= 0)) { + total_size += 1 + 4; + } + + // int32 RoofLoad = 13; + if (this->roofload() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_roofload()); + } + + // float CargoVolume = 14; + if (!(this->cargovolume() <= 0 && this->cargovolume() >= 0)) { + total_size += 1 + 4; + } + + // int32 EmissionsCO2 = 15; + if (this->emissionsco2() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_emissionsco2()); + } + + // uint32 CurrentOverallWeight = 16; + if (this->currentoverallweight() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_currentoverallweight()); + } + + // uint32 CurbWeight = 17; + if (this->curbweight() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_curbweight()); + } + + // uint32 GrossWeight = 18; + if (this->grossweight() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_grossweight()); + } + + // uint32 MaxTowWeight = 19; + if (this->maxtowweight() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxtowweight()); + } + + // uint32 MaxTowBallWeight = 20; + if (this->maxtowballweight() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxtowballweight()); + } + + // uint32 Length = 21; + if (this->length() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + // uint32 Height = 22; + if (this->height() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // uint32 Width = 23; + if (this->width() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_width()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void Vehicle::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.Vehicle) + GOOGLE_DCHECK_NE(&from, this); + const Vehicle* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<Vehicle>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.Vehicle) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.Vehicle) + MergeFrom(*source); + } +} + +void Vehicle::MergeFrom(const Vehicle& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.Vehicle) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.lowvoltagesystemstate().size() > 0) { + + lowvoltagesystemstate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.lowvoltagesystemstate_); + } + if (from.has_versionvss()) { + _internal_mutable_versionvss()->::com::vehicle::messages::VehicleVersionVSS::MergeFrom(from._internal_versionvss()); + } + if (from.has_vehicleidentification()) { + _internal_mutable_vehicleidentification()->::com::vehicle::messages::VehicleVehicleIdentification::MergeFrom(from._internal_vehicleidentification()); + } + if (from.has_lowvoltagebattery()) { + _internal_mutable_lowvoltagebattery()->::com::vehicle::messages::VehicleLowVoltageBattery::MergeFrom(from._internal_lowvoltagebattery()); + } + if (from.has_acceleration()) { + _internal_mutable_acceleration()->::com::vehicle::messages::VehicleAcceleration::MergeFrom(from._internal_acceleration()); + } + if (from.has_angularvelocity()) { + _internal_mutable_angularvelocity()->::com::vehicle::messages::VehicleAngularVelocity::MergeFrom(from._internal_angularvelocity()); + } + if (from.has_trailer()) { + _internal_mutable_trailer()->::com::vehicle::messages::VehicleTrailer::MergeFrom(from._internal_trailer()); + } + if (from.has_currentlocation()) { + _internal_mutable_currentlocation()->::com::vehicle::messages::VehicleCurrentLocation::MergeFrom(from._internal_currentlocation()); + } + if (from.has_powertrain()) { + _internal_mutable_powertrain()->::com::vehicle::messages::VehiclePowertrain::MergeFrom(from._internal_powertrain()); + } + if (from.has_body()) { + _internal_mutable_body()->::com::vehicle::messages::VehicleBody::MergeFrom(from._internal_body()); + } + if (from.has_cabin()) { + _internal_mutable_cabin()->::com::vehicle::messages::VehicleCabin::MergeFrom(from._internal_cabin()); + } + if (from.has_adas()) { + _internal_mutable_adas()->::com::vehicle::messages::VehicleADAS::MergeFrom(from._internal_adas()); + } + if (from.has_chassis()) { + _internal_mutable_chassis()->::com::vehicle::messages::VehicleChassis::MergeFrom(from._internal_chassis()); + } + if (from.has_obd()) { + _internal_mutable_obd()->::com::vehicle::messages::VehicleOBD::MergeFrom(from._internal_obd()); + } + if (from.has_driver()) { + _internal_mutable_driver()->::com::vehicle::messages::VehicleDriver::MergeFrom(from._internal_driver()); + } + if (from.has_exterior()) { + _internal_mutable_exterior()->::com::vehicle::messages::VehicleExterior::MergeFrom(from._internal_exterior()); + } + if (from.has_service()) { + _internal_mutable_service()->::com::vehicle::messages::VehicleService::MergeFrom(from._internal_service()); + } + if (from.has_connectivity()) { + _internal_mutable_connectivity()->::com::vehicle::messages::VehicleConnectivity::MergeFrom(from._internal_connectivity()); + } + if (!(from.speed() <= 0 && from.speed() >= 0)) { + _internal_set_speed(from._internal_speed()); + } + if (!(from.travelleddistance() <= 0 && from.travelleddistance() >= 0)) { + _internal_set_travelleddistance(from._internal_travelleddistance()); + } + if (!(from.tripmeterreading() <= 0 && from.tripmeterreading() >= 0)) { + _internal_set_tripmeterreading(from._internal_tripmeterreading()); + } + if (from.isbrokendown() != 0) { + _internal_set_isbrokendown(from._internal_isbrokendown()); + } + if (from.ismoving() != 0) { + _internal_set_ismoving(from._internal_ismoving()); + } + if (!(from.averagespeed() <= 0 && from.averagespeed() >= 0)) { + _internal_set_averagespeed(from._internal_averagespeed()); + } + if (from.roofload() != 0) { + _internal_set_roofload(from._internal_roofload()); + } + if (!(from.cargovolume() <= 0 && from.cargovolume() >= 0)) { + _internal_set_cargovolume(from._internal_cargovolume()); + } + if (from.emissionsco2() != 0) { + _internal_set_emissionsco2(from._internal_emissionsco2()); + } + if (from.currentoverallweight() != 0) { + _internal_set_currentoverallweight(from._internal_currentoverallweight()); + } + if (from.curbweight() != 0) { + _internal_set_curbweight(from._internal_curbweight()); + } + if (from.grossweight() != 0) { + _internal_set_grossweight(from._internal_grossweight()); + } + if (from.maxtowweight() != 0) { + _internal_set_maxtowweight(from._internal_maxtowweight()); + } + if (from.maxtowballweight() != 0) { + _internal_set_maxtowballweight(from._internal_maxtowballweight()); + } + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (from.width() != 0) { + _internal_set_width(from._internal_width()); + } +} + +void Vehicle::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.Vehicle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void Vehicle::CopyFrom(const Vehicle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.Vehicle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool Vehicle::IsInitialized() const { + return true; +} + +void Vehicle::InternalSwap(Vehicle* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + lowvoltagesystemstate_.Swap(&other->lowvoltagesystemstate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(versionvss_, other->versionvss_); + swap(vehicleidentification_, other->vehicleidentification_); + swap(lowvoltagebattery_, other->lowvoltagebattery_); + swap(acceleration_, other->acceleration_); + swap(angularvelocity_, other->angularvelocity_); + swap(trailer_, other->trailer_); + swap(currentlocation_, other->currentlocation_); + swap(powertrain_, other->powertrain_); + swap(body_, other->body_); + swap(cabin_, other->cabin_); + swap(adas_, other->adas_); + swap(chassis_, other->chassis_); + swap(obd_, other->obd_); + swap(driver_, other->driver_); + swap(exterior_, other->exterior_); + swap(service_, other->service_); + swap(connectivity_, other->connectivity_); + swap(speed_, other->speed_); + swap(travelleddistance_, other->travelleddistance_); + swap(tripmeterreading_, other->tripmeterreading_); + swap(isbrokendown_, other->isbrokendown_); + swap(ismoving_, other->ismoving_); + swap(averagespeed_, other->averagespeed_); + swap(roofload_, other->roofload_); + swap(cargovolume_, other->cargovolume_); + swap(emissionsco2_, other->emissionsco2_); + swap(currentoverallweight_, other->currentoverallweight_); + swap(curbweight_, other->curbweight_); + swap(grossweight_, other->grossweight_); + swap(maxtowweight_, other->maxtowweight_); + swap(maxtowballweight_, other->maxtowballweight_); + swap(length_, other->length_); + swap(height_, other->height_); + swap(width_, other->width_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata Vehicle::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleVersionVSS::InitAsDefaultInstance() { +} +class VehicleVersionVSS::_Internal { + public: +}; + +VehicleVersionVSS::VehicleVersionVSS() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleVersionVSS) +} +VehicleVersionVSS::VehicleVersionVSS(const VehicleVersionVSS& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + label_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_label().empty()) { + label_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.label_); + } + ::memcpy(&major_, &from.major_, + static_cast<size_t>(reinterpret_cast<char*>(&patch_) - + reinterpret_cast<char*>(&major_)) + sizeof(patch_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleVersionVSS) +} + +void VehicleVersionVSS::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleVersionVSS_V2C_2fvspec_2eproto.base); + label_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&major_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&patch_) - + reinterpret_cast<char*>(&major_)) + sizeof(patch_)); +} + +VehicleVersionVSS::~VehicleVersionVSS() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleVersionVSS) + SharedDtor(); +} + +void VehicleVersionVSS::SharedDtor() { + label_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleVersionVSS::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleVersionVSS& VehicleVersionVSS::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleVersionVSS_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleVersionVSS::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleVersionVSS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + label_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&major_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&patch_) - + reinterpret_cast<char*>(&major_)) + sizeof(patch_)); + _internal_metadata_.Clear(); +} + +const char* VehicleVersionVSS::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Major = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + major_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Minor = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + minor_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Patch = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + patch_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Label = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_label(), ptr, ctx, "com.vehicle.messages.VehicleVersionVSS.Label"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleVersionVSS::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleVersionVSS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Major = 1; + if (this->major() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_major(), target); + } + + // uint32 Minor = 2; + if (this->minor() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_minor(), target); + } + + // uint32 Patch = 3; + if (this->patch() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_patch(), target); + } + + // string Label = 4; + if (this->label().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_label().data(), static_cast<int>(this->_internal_label().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVersionVSS.Label"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_label(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleVersionVSS) + return target; +} + +size_t VehicleVersionVSS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleVersionVSS) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Label = 4; + if (this->label().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_label()); + } + + // uint32 Major = 1; + if (this->major() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_major()); + } + + // uint32 Minor = 2; + if (this->minor() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_minor()); + } + + // uint32 Patch = 3; + if (this->patch() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_patch()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleVersionVSS::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleVersionVSS) + GOOGLE_DCHECK_NE(&from, this); + const VehicleVersionVSS* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleVersionVSS>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleVersionVSS) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleVersionVSS) + MergeFrom(*source); + } +} + +void VehicleVersionVSS::MergeFrom(const VehicleVersionVSS& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleVersionVSS) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.label().size() > 0) { + + label_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.label_); + } + if (from.major() != 0) { + _internal_set_major(from._internal_major()); + } + if (from.minor() != 0) { + _internal_set_minor(from._internal_minor()); + } + if (from.patch() != 0) { + _internal_set_patch(from._internal_patch()); + } +} + +void VehicleVersionVSS::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleVersionVSS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleVersionVSS::CopyFrom(const VehicleVersionVSS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleVersionVSS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleVersionVSS::IsInitialized() const { + return true; +} + +void VehicleVersionVSS::InternalSwap(VehicleVersionVSS* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + label_.Swap(&other->label_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(major_, other->major_); + swap(minor_, other->minor_); + swap(patch_, other->patch_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleVersionVSS::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleVehicleIdentification::InitAsDefaultInstance() { +} +class VehicleVehicleIdentification::_Internal { + public: +}; + +VehicleVehicleIdentification::VehicleVehicleIdentification() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleVehicleIdentification) +} +VehicleVehicleIdentification::VehicleVehicleIdentification(const VehicleVehicleIdentification& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + vin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_vin().empty()) { + vin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vin_); + } + wmi_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_wmi().empty()) { + wmi_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.wmi_); + } + brand_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_brand().empty()) { + brand_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.brand_); + } + model_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_model().empty()) { + model_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.model_); + } + acrisscode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_acrisscode().empty()) { + acrisscode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.acrisscode_); + } + bodytype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_bodytype().empty()) { + bodytype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bodytype_); + } + datevehiclefirstregistered_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_datevehiclefirstregistered().empty()) { + datevehiclefirstregistered_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.datevehiclefirstregistered_); + } + meetsemissionstandard_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_meetsemissionstandard().empty()) { + meetsemissionstandard_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.meetsemissionstandard_); + } + productiondate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_productiondate().empty()) { + productiondate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.productiondate_); + } + purchasedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_purchasedate().empty()) { + purchasedate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.purchasedate_); + } + vehiclemodeldate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_vehiclemodeldate().empty()) { + vehiclemodeldate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehiclemodeldate_); + } + vehicleconfiguration_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_vehicleconfiguration().empty()) { + vehicleconfiguration_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehicleconfiguration_); + } + vehiclespecialusage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_vehiclespecialusage().empty()) { + vehiclespecialusage_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehiclespecialusage_); + } + vehicleinteriorcolor_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_vehicleinteriorcolor().empty()) { + vehicleinteriorcolor_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehicleinteriorcolor_); + } + vehicleinteriortype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_vehicleinteriortype().empty()) { + vehicleinteriortype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehicleinteriortype_); + } + knownvehicledamages_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_knownvehicledamages().empty()) { + knownvehicledamages_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.knownvehicledamages_); + } + ::memcpy(&year_, &from.year_, + static_cast<size_t>(reinterpret_cast<char*>(&vehicleseatingcapacity_) - + reinterpret_cast<char*>(&year_)) + sizeof(vehicleseatingcapacity_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleVehicleIdentification) +} + +void VehicleVehicleIdentification::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto.base); + vin_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + wmi_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + brand_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + model_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + acrisscode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + bodytype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + datevehiclefirstregistered_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + meetsemissionstandard_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + productiondate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + purchasedate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehiclemodeldate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleconfiguration_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehiclespecialusage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleinteriorcolor_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleinteriortype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + knownvehicledamages_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&year_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&vehicleseatingcapacity_) - + reinterpret_cast<char*>(&year_)) + sizeof(vehicleseatingcapacity_)); +} + +VehicleVehicleIdentification::~VehicleVehicleIdentification() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleVehicleIdentification) + SharedDtor(); +} + +void VehicleVehicleIdentification::SharedDtor() { + vin_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + wmi_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + brand_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + model_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + acrisscode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + bodytype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + datevehiclefirstregistered_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + meetsemissionstandard_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + productiondate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + purchasedate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehiclemodeldate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleconfiguration_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehiclespecialusage_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleinteriorcolor_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleinteriortype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + knownvehicledamages_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleVehicleIdentification::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleVehicleIdentification& VehicleVehicleIdentification::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleVehicleIdentification_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleVehicleIdentification::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleVehicleIdentification) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + vin_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + wmi_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + brand_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + model_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + acrisscode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + bodytype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + datevehiclefirstregistered_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + meetsemissionstandard_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + productiondate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + purchasedate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehiclemodeldate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleconfiguration_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehiclespecialusage_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleinteriorcolor_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + vehicleinteriortype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + knownvehicledamages_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&year_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&vehicleseatingcapacity_) - + reinterpret_cast<char*>(&year_)) + sizeof(vehicleseatingcapacity_)); + _internal_metadata_.Clear(); +} + +const char* VehicleVehicleIdentification::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string VIN = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_vin(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.VIN"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string WMI = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_wmi(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.WMI"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Brand = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_brand(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.Brand"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Model = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_model(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.Model"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Year = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + year_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AcrissCode = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_acrisscode(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.AcrissCode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string BodyType = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_bodytype(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.BodyType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string DateVehicleFirstRegistered = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_datevehiclefirstregistered(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.DateVehicleFirstRegistered"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string MeetsEmissionStandard = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_meetsemissionstandard(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.MeetsEmissionStandard"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string ProductionDate = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_productiondate(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.ProductionDate"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string PurchaseDate = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_purchasedate(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.PurchaseDate"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string VehicleModelDate = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_vehiclemodeldate(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.VehicleModelDate"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string VehicleConfiguration = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_vehicleconfiguration(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.VehicleConfiguration"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 VehicleSeatingCapacity = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) { + vehicleseatingcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string VehicleSpecialUsage = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 122)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_vehiclespecialusage(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.VehicleSpecialUsage"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string VehicleInteriorColor = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 130)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_vehicleinteriorcolor(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.VehicleInteriorColor"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string VehicleInteriorType = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_vehicleinteriortype(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.VehicleInteriorType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string KnownVehicleDamages = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 146)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_knownvehicledamages(), ptr, ctx, "com.vehicle.messages.VehicleVehicleIdentification.KnownVehicleDamages"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleVehicleIdentification::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleVehicleIdentification) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string VIN = 1; + if (this->vin().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_vin().data(), static_cast<int>(this->_internal_vin().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.VIN"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_vin(), target); + } + + // string WMI = 2; + if (this->wmi().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_wmi().data(), static_cast<int>(this->_internal_wmi().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.WMI"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_wmi(), target); + } + + // string Brand = 3; + if (this->brand().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_brand().data(), static_cast<int>(this->_internal_brand().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.Brand"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_brand(), target); + } + + // string Model = 4; + if (this->model().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_model().data(), static_cast<int>(this->_internal_model().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.Model"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_model(), target); + } + + // uint32 Year = 5; + if (this->year() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_year(), target); + } + + // string AcrissCode = 6; + if (this->acrisscode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_acrisscode().data(), static_cast<int>(this->_internal_acrisscode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.AcrissCode"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_acrisscode(), target); + } + + // string BodyType = 7; + if (this->bodytype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_bodytype().data(), static_cast<int>(this->_internal_bodytype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.BodyType"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_bodytype(), target); + } + + // string DateVehicleFirstRegistered = 8; + if (this->datevehiclefirstregistered().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_datevehiclefirstregistered().data(), static_cast<int>(this->_internal_datevehiclefirstregistered().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.DateVehicleFirstRegistered"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_datevehiclefirstregistered(), target); + } + + // string MeetsEmissionStandard = 9; + if (this->meetsemissionstandard().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_meetsemissionstandard().data(), static_cast<int>(this->_internal_meetsemissionstandard().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.MeetsEmissionStandard"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_meetsemissionstandard(), target); + } + + // string ProductionDate = 10; + if (this->productiondate().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_productiondate().data(), static_cast<int>(this->_internal_productiondate().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.ProductionDate"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_productiondate(), target); + } + + // string PurchaseDate = 11; + if (this->purchasedate().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_purchasedate().data(), static_cast<int>(this->_internal_purchasedate().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.PurchaseDate"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_purchasedate(), target); + } + + // string VehicleModelDate = 12; + if (this->vehiclemodeldate().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_vehiclemodeldate().data(), static_cast<int>(this->_internal_vehiclemodeldate().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.VehicleModelDate"); + target = stream->WriteStringMaybeAliased( + 12, this->_internal_vehiclemodeldate(), target); + } + + // string VehicleConfiguration = 13; + if (this->vehicleconfiguration().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_vehicleconfiguration().data(), static_cast<int>(this->_internal_vehicleconfiguration().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.VehicleConfiguration"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_vehicleconfiguration(), target); + } + + // uint32 VehicleSeatingCapacity = 14; + if (this->vehicleseatingcapacity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_vehicleseatingcapacity(), target); + } + + // string VehicleSpecialUsage = 15; + if (this->vehiclespecialusage().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_vehiclespecialusage().data(), static_cast<int>(this->_internal_vehiclespecialusage().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.VehicleSpecialUsage"); + target = stream->WriteStringMaybeAliased( + 15, this->_internal_vehiclespecialusage(), target); + } + + // string VehicleInteriorColor = 16; + if (this->vehicleinteriorcolor().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_vehicleinteriorcolor().data(), static_cast<int>(this->_internal_vehicleinteriorcolor().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.VehicleInteriorColor"); + target = stream->WriteStringMaybeAliased( + 16, this->_internal_vehicleinteriorcolor(), target); + } + + // string VehicleInteriorType = 17; + if (this->vehicleinteriortype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_vehicleinteriortype().data(), static_cast<int>(this->_internal_vehicleinteriortype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.VehicleInteriorType"); + target = stream->WriteStringMaybeAliased( + 17, this->_internal_vehicleinteriortype(), target); + } + + // string KnownVehicleDamages = 18; + if (this->knownvehicledamages().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_knownvehicledamages().data(), static_cast<int>(this->_internal_knownvehicledamages().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleVehicleIdentification.KnownVehicleDamages"); + target = stream->WriteStringMaybeAliased( + 18, this->_internal_knownvehicledamages(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleVehicleIdentification) + return target; +} + +size_t VehicleVehicleIdentification::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleVehicleIdentification) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string VIN = 1; + if (this->vin().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vin()); + } + + // string WMI = 2; + if (this->wmi().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_wmi()); + } + + // string Brand = 3; + if (this->brand().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_brand()); + } + + // string Model = 4; + if (this->model().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_model()); + } + + // string AcrissCode = 6; + if (this->acrisscode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_acrisscode()); + } + + // string BodyType = 7; + if (this->bodytype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_bodytype()); + } + + // string DateVehicleFirstRegistered = 8; + if (this->datevehiclefirstregistered().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_datevehiclefirstregistered()); + } + + // string MeetsEmissionStandard = 9; + if (this->meetsemissionstandard().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_meetsemissionstandard()); + } + + // string ProductionDate = 10; + if (this->productiondate().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_productiondate()); + } + + // string PurchaseDate = 11; + if (this->purchasedate().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_purchasedate()); + } + + // string VehicleModelDate = 12; + if (this->vehiclemodeldate().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehiclemodeldate()); + } + + // string VehicleConfiguration = 13; + if (this->vehicleconfiguration().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehicleconfiguration()); + } + + // string VehicleSpecialUsage = 15; + if (this->vehiclespecialusage().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehiclespecialusage()); + } + + // string VehicleInteriorColor = 16; + if (this->vehicleinteriorcolor().size() > 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehicleinteriorcolor()); + } + + // string VehicleInteriorType = 17; + if (this->vehicleinteriortype().size() > 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_vehicleinteriortype()); + } + + // string KnownVehicleDamages = 18; + if (this->knownvehicledamages().size() > 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_knownvehicledamages()); + } + + // uint32 Year = 5; + if (this->year() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_year()); + } + + // uint32 VehicleSeatingCapacity = 14; + if (this->vehicleseatingcapacity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_vehicleseatingcapacity()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleVehicleIdentification::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleVehicleIdentification) + GOOGLE_DCHECK_NE(&from, this); + const VehicleVehicleIdentification* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleVehicleIdentification>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleVehicleIdentification) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleVehicleIdentification) + MergeFrom(*source); + } +} + +void VehicleVehicleIdentification::MergeFrom(const VehicleVehicleIdentification& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleVehicleIdentification) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.vin().size() > 0) { + + vin_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vin_); + } + if (from.wmi().size() > 0) { + + wmi_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.wmi_); + } + if (from.brand().size() > 0) { + + brand_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.brand_); + } + if (from.model().size() > 0) { + + model_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.model_); + } + if (from.acrisscode().size() > 0) { + + acrisscode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.acrisscode_); + } + if (from.bodytype().size() > 0) { + + bodytype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bodytype_); + } + if (from.datevehiclefirstregistered().size() > 0) { + + datevehiclefirstregistered_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.datevehiclefirstregistered_); + } + if (from.meetsemissionstandard().size() > 0) { + + meetsemissionstandard_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.meetsemissionstandard_); + } + if (from.productiondate().size() > 0) { + + productiondate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.productiondate_); + } + if (from.purchasedate().size() > 0) { + + purchasedate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.purchasedate_); + } + if (from.vehiclemodeldate().size() > 0) { + + vehiclemodeldate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehiclemodeldate_); + } + if (from.vehicleconfiguration().size() > 0) { + + vehicleconfiguration_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehicleconfiguration_); + } + if (from.vehiclespecialusage().size() > 0) { + + vehiclespecialusage_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehiclespecialusage_); + } + if (from.vehicleinteriorcolor().size() > 0) { + + vehicleinteriorcolor_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehicleinteriorcolor_); + } + if (from.vehicleinteriortype().size() > 0) { + + vehicleinteriortype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.vehicleinteriortype_); + } + if (from.knownvehicledamages().size() > 0) { + + knownvehicledamages_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.knownvehicledamages_); + } + if (from.year() != 0) { + _internal_set_year(from._internal_year()); + } + if (from.vehicleseatingcapacity() != 0) { + _internal_set_vehicleseatingcapacity(from._internal_vehicleseatingcapacity()); + } +} + +void VehicleVehicleIdentification::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleVehicleIdentification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleVehicleIdentification::CopyFrom(const VehicleVehicleIdentification& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleVehicleIdentification) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleVehicleIdentification::IsInitialized() const { + return true; +} + +void VehicleVehicleIdentification::InternalSwap(VehicleVehicleIdentification* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + vin_.Swap(&other->vin_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + wmi_.Swap(&other->wmi_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + brand_.Swap(&other->brand_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + model_.Swap(&other->model_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + acrisscode_.Swap(&other->acrisscode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + bodytype_.Swap(&other->bodytype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + datevehiclefirstregistered_.Swap(&other->datevehiclefirstregistered_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + meetsemissionstandard_.Swap(&other->meetsemissionstandard_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + productiondate_.Swap(&other->productiondate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + purchasedate_.Swap(&other->purchasedate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + vehiclemodeldate_.Swap(&other->vehiclemodeldate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + vehicleconfiguration_.Swap(&other->vehicleconfiguration_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + vehiclespecialusage_.Swap(&other->vehiclespecialusage_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + vehicleinteriorcolor_.Swap(&other->vehicleinteriorcolor_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + vehicleinteriortype_.Swap(&other->vehicleinteriortype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + knownvehicledamages_.Swap(&other->knownvehicledamages_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(year_, other->year_); + swap(vehicleseatingcapacity_, other->vehicleseatingcapacity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleVehicleIdentification::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleLowVoltageBattery::InitAsDefaultInstance() { +} +class VehicleLowVoltageBattery::_Internal { + public: +}; + +VehicleLowVoltageBattery::VehicleLowVoltageBattery() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleLowVoltageBattery) +} +VehicleLowVoltageBattery::VehicleLowVoltageBattery(const VehicleLowVoltageBattery& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&nominalvoltage_, &from.nominalvoltage_, + static_cast<size_t>(reinterpret_cast<char*>(¤tcurrent_) - + reinterpret_cast<char*>(&nominalvoltage_)) + sizeof(currentcurrent_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleLowVoltageBattery) +} + +void VehicleLowVoltageBattery::SharedCtor() { + ::memset(&nominalvoltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤tcurrent_) - + reinterpret_cast<char*>(&nominalvoltage_)) + sizeof(currentcurrent_)); +} + +VehicleLowVoltageBattery::~VehicleLowVoltageBattery() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleLowVoltageBattery) + SharedDtor(); +} + +void VehicleLowVoltageBattery::SharedDtor() { +} + +void VehicleLowVoltageBattery::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleLowVoltageBattery& VehicleLowVoltageBattery::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleLowVoltageBattery_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleLowVoltageBattery::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleLowVoltageBattery) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&nominalvoltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤tcurrent_) - + reinterpret_cast<char*>(&nominalvoltage_)) + sizeof(currentcurrent_)); + _internal_metadata_.Clear(); +} + +const char* VehicleLowVoltageBattery::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 NominalVoltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + nominalvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 NominalCapacity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + nominalcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float CurrentVoltage = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + currentvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float CurrentCurrent = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + currentcurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleLowVoltageBattery::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleLowVoltageBattery) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 NominalVoltage = 1; + if (this->nominalvoltage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_nominalvoltage(), target); + } + + // uint32 NominalCapacity = 2; + if (this->nominalcapacity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_nominalcapacity(), target); + } + + // float CurrentVoltage = 3; + if (!(this->currentvoltage() <= 0 && this->currentvoltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_currentvoltage(), target); + } + + // float CurrentCurrent = 4; + if (!(this->currentcurrent() <= 0 && this->currentcurrent() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_currentcurrent(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleLowVoltageBattery) + return target; +} + +size_t VehicleLowVoltageBattery::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleLowVoltageBattery) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 NominalVoltage = 1; + if (this->nominalvoltage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_nominalvoltage()); + } + + // uint32 NominalCapacity = 2; + if (this->nominalcapacity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_nominalcapacity()); + } + + // float CurrentVoltage = 3; + if (!(this->currentvoltage() <= 0 && this->currentvoltage() >= 0)) { + total_size += 1 + 4; + } + + // float CurrentCurrent = 4; + if (!(this->currentcurrent() <= 0 && this->currentcurrent() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleLowVoltageBattery::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleLowVoltageBattery) + GOOGLE_DCHECK_NE(&from, this); + const VehicleLowVoltageBattery* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleLowVoltageBattery>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleLowVoltageBattery) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleLowVoltageBattery) + MergeFrom(*source); + } +} + +void VehicleLowVoltageBattery::MergeFrom(const VehicleLowVoltageBattery& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleLowVoltageBattery) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.nominalvoltage() != 0) { + _internal_set_nominalvoltage(from._internal_nominalvoltage()); + } + if (from.nominalcapacity() != 0) { + _internal_set_nominalcapacity(from._internal_nominalcapacity()); + } + if (!(from.currentvoltage() <= 0 && from.currentvoltage() >= 0)) { + _internal_set_currentvoltage(from._internal_currentvoltage()); + } + if (!(from.currentcurrent() <= 0 && from.currentcurrent() >= 0)) { + _internal_set_currentcurrent(from._internal_currentcurrent()); + } +} + +void VehicleLowVoltageBattery::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleLowVoltageBattery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleLowVoltageBattery::CopyFrom(const VehicleLowVoltageBattery& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleLowVoltageBattery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleLowVoltageBattery::IsInitialized() const { + return true; +} + +void VehicleLowVoltageBattery::InternalSwap(VehicleLowVoltageBattery* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(nominalvoltage_, other->nominalvoltage_); + swap(nominalcapacity_, other->nominalcapacity_); + swap(currentvoltage_, other->currentvoltage_); + swap(currentcurrent_, other->currentcurrent_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleLowVoltageBattery::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleAcceleration::InitAsDefaultInstance() { +} +class VehicleAcceleration::_Internal { + public: +}; + +VehicleAcceleration::VehicleAcceleration() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleAcceleration) +} +VehicleAcceleration::VehicleAcceleration(const VehicleAcceleration& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&longitudinal_, &from.longitudinal_, + static_cast<size_t>(reinterpret_cast<char*>(&vertical_) - + reinterpret_cast<char*>(&longitudinal_)) + sizeof(vertical_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleAcceleration) +} + +void VehicleAcceleration::SharedCtor() { + ::memset(&longitudinal_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&vertical_) - + reinterpret_cast<char*>(&longitudinal_)) + sizeof(vertical_)); +} + +VehicleAcceleration::~VehicleAcceleration() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleAcceleration) + SharedDtor(); +} + +void VehicleAcceleration::SharedDtor() { +} + +void VehicleAcceleration::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleAcceleration& VehicleAcceleration::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleAcceleration_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleAcceleration::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleAcceleration) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&longitudinal_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&vertical_) - + reinterpret_cast<char*>(&longitudinal_)) + sizeof(vertical_)); + _internal_metadata_.Clear(); +} + +const char* VehicleAcceleration::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Longitudinal = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + longitudinal_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Lateral = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + lateral_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Vertical = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + vertical_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleAcceleration::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleAcceleration) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Longitudinal = 1; + if (!(this->longitudinal() <= 0 && this->longitudinal() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_longitudinal(), target); + } + + // float Lateral = 2; + if (!(this->lateral() <= 0 && this->lateral() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_lateral(), target); + } + + // float Vertical = 3; + if (!(this->vertical() <= 0 && this->vertical() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_vertical(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleAcceleration) + return target; +} + +size_t VehicleAcceleration::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleAcceleration) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Longitudinal = 1; + if (!(this->longitudinal() <= 0 && this->longitudinal() >= 0)) { + total_size += 1 + 4; + } + + // float Lateral = 2; + if (!(this->lateral() <= 0 && this->lateral() >= 0)) { + total_size += 1 + 4; + } + + // float Vertical = 3; + if (!(this->vertical() <= 0 && this->vertical() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleAcceleration::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleAcceleration) + GOOGLE_DCHECK_NE(&from, this); + const VehicleAcceleration* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleAcceleration>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleAcceleration) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleAcceleration) + MergeFrom(*source); + } +} + +void VehicleAcceleration::MergeFrom(const VehicleAcceleration& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleAcceleration) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.longitudinal() <= 0 && from.longitudinal() >= 0)) { + _internal_set_longitudinal(from._internal_longitudinal()); + } + if (!(from.lateral() <= 0 && from.lateral() >= 0)) { + _internal_set_lateral(from._internal_lateral()); + } + if (!(from.vertical() <= 0 && from.vertical() >= 0)) { + _internal_set_vertical(from._internal_vertical()); + } +} + +void VehicleAcceleration::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleAcceleration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleAcceleration::CopyFrom(const VehicleAcceleration& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleAcceleration) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleAcceleration::IsInitialized() const { + return true; +} + +void VehicleAcceleration::InternalSwap(VehicleAcceleration* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(longitudinal_, other->longitudinal_); + swap(lateral_, other->lateral_); + swap(vertical_, other->vertical_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleAcceleration::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleAngularVelocity::InitAsDefaultInstance() { +} +class VehicleAngularVelocity::_Internal { + public: +}; + +VehicleAngularVelocity::VehicleAngularVelocity() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleAngularVelocity) +} +VehicleAngularVelocity::VehicleAngularVelocity(const VehicleAngularVelocity& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&roll_, &from.roll_, + static_cast<size_t>(reinterpret_cast<char*>(&yaw_) - + reinterpret_cast<char*>(&roll_)) + sizeof(yaw_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleAngularVelocity) +} + +void VehicleAngularVelocity::SharedCtor() { + ::memset(&roll_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&yaw_) - + reinterpret_cast<char*>(&roll_)) + sizeof(yaw_)); +} + +VehicleAngularVelocity::~VehicleAngularVelocity() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleAngularVelocity) + SharedDtor(); +} + +void VehicleAngularVelocity::SharedDtor() { +} + +void VehicleAngularVelocity::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleAngularVelocity& VehicleAngularVelocity::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleAngularVelocity_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleAngularVelocity::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleAngularVelocity) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&roll_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&yaw_) - + reinterpret_cast<char*>(&roll_)) + sizeof(yaw_)); + _internal_metadata_.Clear(); +} + +const char* VehicleAngularVelocity::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Roll = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + roll_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Pitch = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + pitch_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Yaw = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + yaw_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleAngularVelocity::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleAngularVelocity) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Roll = 1; + if (!(this->roll() <= 0 && this->roll() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_roll(), target); + } + + // float Pitch = 2; + if (!(this->pitch() <= 0 && this->pitch() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_pitch(), target); + } + + // float Yaw = 3; + if (!(this->yaw() <= 0 && this->yaw() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_yaw(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleAngularVelocity) + return target; +} + +size_t VehicleAngularVelocity::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleAngularVelocity) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Roll = 1; + if (!(this->roll() <= 0 && this->roll() >= 0)) { + total_size += 1 + 4; + } + + // float Pitch = 2; + if (!(this->pitch() <= 0 && this->pitch() >= 0)) { + total_size += 1 + 4; + } + + // float Yaw = 3; + if (!(this->yaw() <= 0 && this->yaw() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleAngularVelocity::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleAngularVelocity) + GOOGLE_DCHECK_NE(&from, this); + const VehicleAngularVelocity* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleAngularVelocity>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleAngularVelocity) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleAngularVelocity) + MergeFrom(*source); + } +} + +void VehicleAngularVelocity::MergeFrom(const VehicleAngularVelocity& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleAngularVelocity) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.roll() <= 0 && from.roll() >= 0)) { + _internal_set_roll(from._internal_roll()); + } + if (!(from.pitch() <= 0 && from.pitch() >= 0)) { + _internal_set_pitch(from._internal_pitch()); + } + if (!(from.yaw() <= 0 && from.yaw() >= 0)) { + _internal_set_yaw(from._internal_yaw()); + } +} + +void VehicleAngularVelocity::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleAngularVelocity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleAngularVelocity::CopyFrom(const VehicleAngularVelocity& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleAngularVelocity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleAngularVelocity::IsInitialized() const { + return true; +} + +void VehicleAngularVelocity::InternalSwap(VehicleAngularVelocity* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(roll_, other->roll_); + swap(pitch_, other->pitch_); + swap(yaw_, other->yaw_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleAngularVelocity::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleTrailer::InitAsDefaultInstance() { +} +class VehicleTrailer::_Internal { + public: +}; + +VehicleTrailer::VehicleTrailer() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleTrailer) +} +VehicleTrailer::VehicleTrailer(const VehicleTrailer& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isconnected_ = from.isconnected_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleTrailer) +} + +void VehicleTrailer::SharedCtor() { + isconnected_ = false; +} + +VehicleTrailer::~VehicleTrailer() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleTrailer) + SharedDtor(); +} + +void VehicleTrailer::SharedDtor() { +} + +void VehicleTrailer::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleTrailer& VehicleTrailer::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleTrailer_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleTrailer::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleTrailer) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isconnected_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleTrailer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsConnected = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleTrailer::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleTrailer) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsConnected = 1; + if (this->isconnected() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isconnected(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleTrailer) + return target; +} + +size_t VehicleTrailer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleTrailer) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsConnected = 1; + if (this->isconnected() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleTrailer::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleTrailer) + GOOGLE_DCHECK_NE(&from, this); + const VehicleTrailer* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleTrailer>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleTrailer) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleTrailer) + MergeFrom(*source); + } +} + +void VehicleTrailer::MergeFrom(const VehicleTrailer& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleTrailer) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isconnected() != 0) { + _internal_set_isconnected(from._internal_isconnected()); + } +} + +void VehicleTrailer::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleTrailer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleTrailer::CopyFrom(const VehicleTrailer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleTrailer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleTrailer::IsInitialized() const { + return true; +} + +void VehicleTrailer::InternalSwap(VehicleTrailer* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isconnected_, other->isconnected_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleTrailer::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCurrentLocation::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCurrentLocation_default_instance_._instance.get_mutable()->gnssreceiver_ = const_cast< ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver*>( + ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver::internal_default_instance()); +} +class VehicleCurrentLocation::_Internal { + public: + static const ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver& gnssreceiver(const VehicleCurrentLocation* msg); +}; + +const ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver& +VehicleCurrentLocation::_Internal::gnssreceiver(const VehicleCurrentLocation* msg) { + return *msg->gnssreceiver_; +} +VehicleCurrentLocation::VehicleCurrentLocation() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCurrentLocation) +} +VehicleCurrentLocation::VehicleCurrentLocation(const VehicleCurrentLocation& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + timestamp_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_timestamp().empty()) { + timestamp_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.timestamp_); + } + if (from._internal_has_gnssreceiver()) { + gnssreceiver_ = new ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver(*from.gnssreceiver_); + } else { + gnssreceiver_ = nullptr; + } + ::memcpy(&latitude_, &from.latitude_, + static_cast<size_t>(reinterpret_cast<char*>(&verticalaccuracy_) - + reinterpret_cast<char*>(&latitude_)) + sizeof(verticalaccuracy_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCurrentLocation) +} + +void VehicleCurrentLocation::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto.base); + timestamp_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&gnssreceiver_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&verticalaccuracy_) - + reinterpret_cast<char*>(&gnssreceiver_)) + sizeof(verticalaccuracy_)); +} + +VehicleCurrentLocation::~VehicleCurrentLocation() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCurrentLocation) + SharedDtor(); +} + +void VehicleCurrentLocation::SharedDtor() { + timestamp_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete gnssreceiver_; +} + +void VehicleCurrentLocation::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCurrentLocation& VehicleCurrentLocation::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCurrentLocation_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCurrentLocation::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCurrentLocation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + timestamp_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && gnssreceiver_ != nullptr) { + delete gnssreceiver_; + } + gnssreceiver_ = nullptr; + ::memset(&latitude_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&verticalaccuracy_) - + reinterpret_cast<char*>(&latitude_)) + sizeof(verticalaccuracy_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCurrentLocation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Timestamp = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_timestamp(), ptr, ctx, "com.vehicle.messages.VehicleCurrentLocation.Timestamp"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // double Latitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) { + latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // double Longitude = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 25)) { + longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // double Heading = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 33)) { + heading_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // double HorizontalAccuracy = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 41)) { + horizontalaccuracy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // double Altitude = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 49)) { + altitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // double VerticalAccuracy = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 57)) { + verticalaccuracy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_gnssreceiver(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCurrentLocation::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCurrentLocation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Timestamp = 1; + if (this->timestamp().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_timestamp().data(), static_cast<int>(this->_internal_timestamp().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCurrentLocation.Timestamp"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_timestamp(), target); + } + + // double Latitude = 2; + if (!(this->latitude() <= 0 && this->latitude() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_latitude(), target); + } + + // double Longitude = 3; + if (!(this->longitude() <= 0 && this->longitude() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(3, this->_internal_longitude(), target); + } + + // double Heading = 4; + if (!(this->heading() <= 0 && this->heading() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(4, this->_internal_heading(), target); + } + + // double HorizontalAccuracy = 5; + if (!(this->horizontalaccuracy() <= 0 && this->horizontalaccuracy() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(5, this->_internal_horizontalaccuracy(), target); + } + + // double Altitude = 6; + if (!(this->altitude() <= 0 && this->altitude() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(6, this->_internal_altitude(), target); + } + + // double VerticalAccuracy = 7; + if (!(this->verticalaccuracy() <= 0 && this->verticalaccuracy() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(7, this->_internal_verticalaccuracy(), target); + } + + // .com.vehicle.messages.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; + if (this->has_gnssreceiver()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::gnssreceiver(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCurrentLocation) + return target; +} + +size_t VehicleCurrentLocation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCurrentLocation) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Timestamp = 1; + if (this->timestamp().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_timestamp()); + } + + // .com.vehicle.messages.VehicleCurrentLocationGNSSReceiver GNSSReceiver = 8; + if (this->has_gnssreceiver()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *gnssreceiver_); + } + + // double Latitude = 2; + if (!(this->latitude() <= 0 && this->latitude() >= 0)) { + total_size += 1 + 8; + } + + // double Longitude = 3; + if (!(this->longitude() <= 0 && this->longitude() >= 0)) { + total_size += 1 + 8; + } + + // double Heading = 4; + if (!(this->heading() <= 0 && this->heading() >= 0)) { + total_size += 1 + 8; + } + + // double HorizontalAccuracy = 5; + if (!(this->horizontalaccuracy() <= 0 && this->horizontalaccuracy() >= 0)) { + total_size += 1 + 8; + } + + // double Altitude = 6; + if (!(this->altitude() <= 0 && this->altitude() >= 0)) { + total_size += 1 + 8; + } + + // double VerticalAccuracy = 7; + if (!(this->verticalaccuracy() <= 0 && this->verticalaccuracy() >= 0)) { + total_size += 1 + 8; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCurrentLocation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCurrentLocation) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCurrentLocation* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCurrentLocation>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCurrentLocation) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCurrentLocation) + MergeFrom(*source); + } +} + +void VehicleCurrentLocation::MergeFrom(const VehicleCurrentLocation& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCurrentLocation) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.timestamp().size() > 0) { + + timestamp_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.timestamp_); + } + if (from.has_gnssreceiver()) { + _internal_mutable_gnssreceiver()->::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver::MergeFrom(from._internal_gnssreceiver()); + } + if (!(from.latitude() <= 0 && from.latitude() >= 0)) { + _internal_set_latitude(from._internal_latitude()); + } + if (!(from.longitude() <= 0 && from.longitude() >= 0)) { + _internal_set_longitude(from._internal_longitude()); + } + if (!(from.heading() <= 0 && from.heading() >= 0)) { + _internal_set_heading(from._internal_heading()); + } + if (!(from.horizontalaccuracy() <= 0 && from.horizontalaccuracy() >= 0)) { + _internal_set_horizontalaccuracy(from._internal_horizontalaccuracy()); + } + if (!(from.altitude() <= 0 && from.altitude() >= 0)) { + _internal_set_altitude(from._internal_altitude()); + } + if (!(from.verticalaccuracy() <= 0 && from.verticalaccuracy() >= 0)) { + _internal_set_verticalaccuracy(from._internal_verticalaccuracy()); + } +} + +void VehicleCurrentLocation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCurrentLocation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCurrentLocation::CopyFrom(const VehicleCurrentLocation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCurrentLocation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCurrentLocation::IsInitialized() const { + return true; +} + +void VehicleCurrentLocation::InternalSwap(VehicleCurrentLocation* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + timestamp_.Swap(&other->timestamp_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(gnssreceiver_, other->gnssreceiver_); + swap(latitude_, other->latitude_); + swap(longitude_, other->longitude_); + swap(heading_, other->heading_); + swap(horizontalaccuracy_, other->horizontalaccuracy_); + swap(altitude_, other->altitude_); + swap(verticalaccuracy_, other->verticalaccuracy_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCurrentLocation::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCurrentLocationGNSSReceiver::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCurrentLocationGNSSReceiver_default_instance_._instance.get_mutable()->mountingposition_ = const_cast< ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition*>( + ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition::internal_default_instance()); +} +class VehicleCurrentLocationGNSSReceiver::_Internal { + public: + static const ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition& mountingposition(const VehicleCurrentLocationGNSSReceiver* msg); +}; + +const ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition& +VehicleCurrentLocationGNSSReceiver::_Internal::mountingposition(const VehicleCurrentLocationGNSSReceiver* msg) { + return *msg->mountingposition_; +} +VehicleCurrentLocationGNSSReceiver::VehicleCurrentLocationGNSSReceiver() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) +} +VehicleCurrentLocationGNSSReceiver::VehicleCurrentLocationGNSSReceiver(const VehicleCurrentLocationGNSSReceiver& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + fixtype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_fixtype().empty()) { + fixtype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fixtype_); + } + if (from._internal_has_mountingposition()) { + mountingposition_ = new ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition(*from.mountingposition_); + } else { + mountingposition_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) +} + +void VehicleCurrentLocationGNSSReceiver::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto.base); + fixtype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + mountingposition_ = nullptr; +} + +VehicleCurrentLocationGNSSReceiver::~VehicleCurrentLocationGNSSReceiver() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + SharedDtor(); +} + +void VehicleCurrentLocationGNSSReceiver::SharedDtor() { + fixtype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete mountingposition_; +} + +void VehicleCurrentLocationGNSSReceiver::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCurrentLocationGNSSReceiver& VehicleCurrentLocationGNSSReceiver::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCurrentLocationGNSSReceiver_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCurrentLocationGNSSReceiver::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + fixtype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && mountingposition_ != nullptr) { + delete mountingposition_; + } + mountingposition_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCurrentLocationGNSSReceiver::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string FixType = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_fixtype(), ptr, ctx, "com.vehicle.messages.VehicleCurrentLocationGNSSReceiver.FixType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_mountingposition(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCurrentLocationGNSSReceiver::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string FixType = 1; + if (this->fixtype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fixtype().data(), static_cast<int>(this->_internal_fixtype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCurrentLocationGNSSReceiver.FixType"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_fixtype(), target); + } + + // .com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; + if (this->has_mountingposition()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::mountingposition(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + return target; +} + +size_t VehicleCurrentLocationGNSSReceiver::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string FixType = 1; + if (this->fixtype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fixtype()); + } + + // .com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition MountingPosition = 2; + if (this->has_mountingposition()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *mountingposition_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCurrentLocationGNSSReceiver::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCurrentLocationGNSSReceiver* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCurrentLocationGNSSReceiver>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + MergeFrom(*source); + } +} + +void VehicleCurrentLocationGNSSReceiver::MergeFrom(const VehicleCurrentLocationGNSSReceiver& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.fixtype().size() > 0) { + + fixtype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fixtype_); + } + if (from.has_mountingposition()) { + _internal_mutable_mountingposition()->::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition::MergeFrom(from._internal_mountingposition()); + } +} + +void VehicleCurrentLocationGNSSReceiver::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCurrentLocationGNSSReceiver::CopyFrom(const VehicleCurrentLocationGNSSReceiver& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiver) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCurrentLocationGNSSReceiver::IsInitialized() const { + return true; +} + +void VehicleCurrentLocationGNSSReceiver::InternalSwap(VehicleCurrentLocationGNSSReceiver* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + fixtype_.Swap(&other->fixtype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(mountingposition_, other->mountingposition_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCurrentLocationGNSSReceiver::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCurrentLocationGNSSReceiverMountingPosition::InitAsDefaultInstance() { +} +class VehicleCurrentLocationGNSSReceiverMountingPosition::_Internal { + public: +}; + +VehicleCurrentLocationGNSSReceiverMountingPosition::VehicleCurrentLocationGNSSReceiverMountingPosition() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) +} +VehicleCurrentLocationGNSSReceiverMountingPosition::VehicleCurrentLocationGNSSReceiverMountingPosition(const VehicleCurrentLocationGNSSReceiverMountingPosition& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&x_, &from.x_, + static_cast<size_t>(reinterpret_cast<char*>(&z_) - + reinterpret_cast<char*>(&x_)) + sizeof(z_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::SharedCtor() { + ::memset(&x_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&z_) - + reinterpret_cast<char*>(&x_)) + sizeof(z_)); +} + +VehicleCurrentLocationGNSSReceiverMountingPosition::~VehicleCurrentLocationGNSSReceiverMountingPosition() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + SharedDtor(); +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::SharedDtor() { +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCurrentLocationGNSSReceiverMountingPosition& VehicleCurrentLocationGNSSReceiverMountingPosition::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCurrentLocationGNSSReceiverMountingPosition_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCurrentLocationGNSSReceiverMountingPosition::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&x_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&z_) - + reinterpret_cast<char*>(&x_)) + sizeof(z_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCurrentLocationGNSSReceiverMountingPosition::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int32 X = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + x_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Y = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + y_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Z = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + z_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCurrentLocationGNSSReceiverMountingPosition::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 X = 1; + if (this->x() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_x(), target); + } + + // int32 Y = 2; + if (this->y() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_y(), target); + } + + // int32 Z = 3; + if (this->z() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_z(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + return target; +} + +size_t VehicleCurrentLocationGNSSReceiverMountingPosition::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 X = 1; + if (this->x() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_x()); + } + + // int32 Y = 2; + if (this->y() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_y()); + } + + // int32 Z = 3; + if (this->z() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_z()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCurrentLocationGNSSReceiverMountingPosition* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCurrentLocationGNSSReceiverMountingPosition>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + MergeFrom(*source); + } +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::MergeFrom(const VehicleCurrentLocationGNSSReceiverMountingPosition& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.x() != 0) { + _internal_set_x(from._internal_x()); + } + if (from.y() != 0) { + _internal_set_y(from._internal_y()); + } + if (from.z() != 0) { + _internal_set_z(from._internal_z()); + } +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::CopyFrom(const VehicleCurrentLocationGNSSReceiverMountingPosition& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCurrentLocationGNSSReceiverMountingPosition) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCurrentLocationGNSSReceiverMountingPosition::IsInitialized() const { + return true; +} + +void VehicleCurrentLocationGNSSReceiverMountingPosition::InternalSwap(VehicleCurrentLocationGNSSReceiverMountingPosition* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(x_, other->x_); + swap(y_, other->y_); + swap(z_, other->z_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCurrentLocationGNSSReceiverMountingPosition::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrain::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehiclePowertrain_default_instance_._instance.get_mutable()->combustionengine_ = const_cast< ::com::vehicle::messages::VehiclePowertrainCombustionEngine*>( + ::com::vehicle::messages::VehiclePowertrainCombustionEngine::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrain_default_instance_._instance.get_mutable()->transmission_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTransmission*>( + ::com::vehicle::messages::VehiclePowertrainTransmission::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrain_default_instance_._instance.get_mutable()->electricmotor_ = const_cast< ::com::vehicle::messages::VehiclePowertrainElectricMotor*>( + ::com::vehicle::messages::VehiclePowertrainElectricMotor::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrain_default_instance_._instance.get_mutable()->tractionbattery_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBattery*>( + ::com::vehicle::messages::VehiclePowertrainTractionBattery::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrain_default_instance_._instance.get_mutable()->fuelsystem_ = const_cast< ::com::vehicle::messages::VehiclePowertrainFuelSystem*>( + ::com::vehicle::messages::VehiclePowertrainFuelSystem::internal_default_instance()); +} +class VehiclePowertrain::_Internal { + public: + static const ::com::vehicle::messages::VehiclePowertrainCombustionEngine& combustionengine(const VehiclePowertrain* msg); + static const ::com::vehicle::messages::VehiclePowertrainTransmission& transmission(const VehiclePowertrain* msg); + static const ::com::vehicle::messages::VehiclePowertrainElectricMotor& electricmotor(const VehiclePowertrain* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBattery& tractionbattery(const VehiclePowertrain* msg); + static const ::com::vehicle::messages::VehiclePowertrainFuelSystem& fuelsystem(const VehiclePowertrain* msg); +}; + +const ::com::vehicle::messages::VehiclePowertrainCombustionEngine& +VehiclePowertrain::_Internal::combustionengine(const VehiclePowertrain* msg) { + return *msg->combustionengine_; +} +const ::com::vehicle::messages::VehiclePowertrainTransmission& +VehiclePowertrain::_Internal::transmission(const VehiclePowertrain* msg) { + return *msg->transmission_; +} +const ::com::vehicle::messages::VehiclePowertrainElectricMotor& +VehiclePowertrain::_Internal::electricmotor(const VehiclePowertrain* msg) { + return *msg->electricmotor_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBattery& +VehiclePowertrain::_Internal::tractionbattery(const VehiclePowertrain* msg) { + return *msg->tractionbattery_; +} +const ::com::vehicle::messages::VehiclePowertrainFuelSystem& +VehiclePowertrain::_Internal::fuelsystem(const VehiclePowertrain* msg) { + return *msg->fuelsystem_; +} +VehiclePowertrain::VehiclePowertrain() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrain) +} +VehiclePowertrain::VehiclePowertrain(const VehiclePowertrain& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_type().empty()) { + type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.type_); + } + if (from._internal_has_combustionengine()) { + combustionengine_ = new ::com::vehicle::messages::VehiclePowertrainCombustionEngine(*from.combustionengine_); + } else { + combustionengine_ = nullptr; + } + if (from._internal_has_transmission()) { + transmission_ = new ::com::vehicle::messages::VehiclePowertrainTransmission(*from.transmission_); + } else { + transmission_ = nullptr; + } + if (from._internal_has_electricmotor()) { + electricmotor_ = new ::com::vehicle::messages::VehiclePowertrainElectricMotor(*from.electricmotor_); + } else { + electricmotor_ = nullptr; + } + if (from._internal_has_tractionbattery()) { + tractionbattery_ = new ::com::vehicle::messages::VehiclePowertrainTractionBattery(*from.tractionbattery_); + } else { + tractionbattery_ = nullptr; + } + if (from._internal_has_fuelsystem()) { + fuelsystem_ = new ::com::vehicle::messages::VehiclePowertrainFuelSystem(*from.fuelsystem_); + } else { + fuelsystem_ = nullptr; + } + ::memcpy(&accumulatedbrakingenergy_, &from.accumulatedbrakingenergy_, + static_cast<size_t>(reinterpret_cast<char*>(&range_) - + reinterpret_cast<char*>(&accumulatedbrakingenergy_)) + sizeof(range_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrain) +} + +void VehiclePowertrain::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrain_V2C_2fvspec_2eproto.base); + type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&combustionengine_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&range_) - + reinterpret_cast<char*>(&combustionengine_)) + sizeof(range_)); +} + +VehiclePowertrain::~VehiclePowertrain() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrain) + SharedDtor(); +} + +void VehiclePowertrain::SharedDtor() { + type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete combustionengine_; + if (this != internal_default_instance()) delete transmission_; + if (this != internal_default_instance()) delete electricmotor_; + if (this != internal_default_instance()) delete tractionbattery_; + if (this != internal_default_instance()) delete fuelsystem_; +} + +void VehiclePowertrain::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrain& VehiclePowertrain::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrain_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrain::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrain) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && combustionengine_ != nullptr) { + delete combustionengine_; + } + combustionengine_ = nullptr; + if (GetArenaNoVirtual() == nullptr && transmission_ != nullptr) { + delete transmission_; + } + transmission_ = nullptr; + if (GetArenaNoVirtual() == nullptr && electricmotor_ != nullptr) { + delete electricmotor_; + } + electricmotor_ = nullptr; + if (GetArenaNoVirtual() == nullptr && tractionbattery_ != nullptr) { + delete tractionbattery_; + } + tractionbattery_ = nullptr; + if (GetArenaNoVirtual() == nullptr && fuelsystem_ != nullptr) { + delete fuelsystem_; + } + fuelsystem_ = nullptr; + ::memset(&accumulatedbrakingenergy_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&range_) - + reinterpret_cast<char*>(&accumulatedbrakingenergy_)) + sizeof(range_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrain::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float AccumulatedBrakingEnergy = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + accumulatedbrakingenergy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Range = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Type = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_type(), ptr, ctx, "com.vehicle.messages.VehiclePowertrain.Type"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainCombustionEngine CombustionEngine = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_combustionengine(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTransmission Transmission = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_transmission(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainElectricMotor ElectricMotor = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_electricmotor(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBattery TractionBattery = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_tractionbattery(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainFuelSystem FuelSystem = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_fuelsystem(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrain::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrain) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float AccumulatedBrakingEnergy = 1; + if (!(this->accumulatedbrakingenergy() <= 0 && this->accumulatedbrakingenergy() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_accumulatedbrakingenergy(), target); + } + + // uint32 Range = 2; + if (this->range() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_range(), target); + } + + // string Type = 3; + if (this->type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_type().data(), static_cast<int>(this->_internal_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrain.Type"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_type(), target); + } + + // .com.vehicle.messages.VehiclePowertrainCombustionEngine CombustionEngine = 4; + if (this->has_combustionengine()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::combustionengine(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainTransmission Transmission = 5; + if (this->has_transmission()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::transmission(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainElectricMotor ElectricMotor = 6; + if (this->has_electricmotor()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::electricmotor(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBattery TractionBattery = 7; + if (this->has_tractionbattery()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::tractionbattery(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainFuelSystem FuelSystem = 8; + if (this->has_fuelsystem()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::fuelsystem(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrain) + return target; +} + +size_t VehiclePowertrain::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrain) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Type = 3; + if (this->type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); + } + + // .com.vehicle.messages.VehiclePowertrainCombustionEngine CombustionEngine = 4; + if (this->has_combustionengine()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *combustionengine_); + } + + // .com.vehicle.messages.VehiclePowertrainTransmission Transmission = 5; + if (this->has_transmission()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *transmission_); + } + + // .com.vehicle.messages.VehiclePowertrainElectricMotor ElectricMotor = 6; + if (this->has_electricmotor()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *electricmotor_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBattery TractionBattery = 7; + if (this->has_tractionbattery()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *tractionbattery_); + } + + // .com.vehicle.messages.VehiclePowertrainFuelSystem FuelSystem = 8; + if (this->has_fuelsystem()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *fuelsystem_); + } + + // float AccumulatedBrakingEnergy = 1; + if (!(this->accumulatedbrakingenergy() <= 0 && this->accumulatedbrakingenergy() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Range = 2; + if (this->range() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_range()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrain::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrain) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrain* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrain>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrain) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrain) + MergeFrom(*source); + } +} + +void VehiclePowertrain::MergeFrom(const VehiclePowertrain& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrain) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.type().size() > 0) { + + type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.type_); + } + if (from.has_combustionengine()) { + _internal_mutable_combustionengine()->::com::vehicle::messages::VehiclePowertrainCombustionEngine::MergeFrom(from._internal_combustionengine()); + } + if (from.has_transmission()) { + _internal_mutable_transmission()->::com::vehicle::messages::VehiclePowertrainTransmission::MergeFrom(from._internal_transmission()); + } + if (from.has_electricmotor()) { + _internal_mutable_electricmotor()->::com::vehicle::messages::VehiclePowertrainElectricMotor::MergeFrom(from._internal_electricmotor()); + } + if (from.has_tractionbattery()) { + _internal_mutable_tractionbattery()->::com::vehicle::messages::VehiclePowertrainTractionBattery::MergeFrom(from._internal_tractionbattery()); + } + if (from.has_fuelsystem()) { + _internal_mutable_fuelsystem()->::com::vehicle::messages::VehiclePowertrainFuelSystem::MergeFrom(from._internal_fuelsystem()); + } + if (!(from.accumulatedbrakingenergy() <= 0 && from.accumulatedbrakingenergy() >= 0)) { + _internal_set_accumulatedbrakingenergy(from._internal_accumulatedbrakingenergy()); + } + if (from.range() != 0) { + _internal_set_range(from._internal_range()); + } +} + +void VehiclePowertrain::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrain) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrain::CopyFrom(const VehiclePowertrain& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrain) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrain::IsInitialized() const { + return true; +} + +void VehiclePowertrain::InternalSwap(VehiclePowertrain* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + type_.Swap(&other->type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(combustionengine_, other->combustionengine_); + swap(transmission_, other->transmission_); + swap(electricmotor_, other->electricmotor_); + swap(tractionbattery_, other->tractionbattery_); + swap(fuelsystem_, other->fuelsystem_); + swap(accumulatedbrakingenergy_, other->accumulatedbrakingenergy_); + swap(range_, other->range_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrain::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainCombustionEngine::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehiclePowertrainCombustionEngine_default_instance_._instance.get_mutable()->dieselexhaustfluid_ = const_cast< ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid*>( + ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainCombustionEngine_default_instance_._instance.get_mutable()->dieselparticulatefilter_ = const_cast< ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter*>( + ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter::internal_default_instance()); +} +class VehiclePowertrainCombustionEngine::_Internal { + public: + static const ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid& dieselexhaustfluid(const VehiclePowertrainCombustionEngine* msg); + static const ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter& dieselparticulatefilter(const VehiclePowertrainCombustionEngine* msg); +}; + +const ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid& +VehiclePowertrainCombustionEngine::_Internal::dieselexhaustfluid(const VehiclePowertrainCombustionEngine* msg) { + return *msg->dieselexhaustfluid_; +} +const ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter& +VehiclePowertrainCombustionEngine::_Internal::dieselparticulatefilter(const VehiclePowertrainCombustionEngine* msg) { + return *msg->dieselparticulatefilter_; +} +VehiclePowertrainCombustionEngine::VehiclePowertrainCombustionEngine() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainCombustionEngine) +} +VehiclePowertrainCombustionEngine::VehiclePowertrainCombustionEngine(const VehiclePowertrainCombustionEngine& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + enginecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_enginecode().empty()) { + enginecode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.enginecode_); + } + configuration_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_configuration().empty()) { + configuration_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.configuration_); + } + compressionratio_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_compressionratio().empty()) { + compressionratio_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.compressionratio_); + } + aspirationtype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_aspirationtype().empty()) { + aspirationtype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.aspirationtype_); + } + engineoillevel_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_engineoillevel().empty()) { + engineoillevel_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.engineoillevel_); + } + if (from._internal_has_dieselexhaustfluid()) { + dieselexhaustfluid_ = new ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid(*from.dieselexhaustfluid_); + } else { + dieselexhaustfluid_ = nullptr; + } + if (from._internal_has_dieselparticulatefilter()) { + dieselparticulatefilter_ = new ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter(*from.dieselparticulatefilter_); + } else { + dieselparticulatefilter_ = nullptr; + } + ::memcpy(&displacement_, &from.displacement_, + static_cast<size_t>(reinterpret_cast<char*>(&torque_) - + reinterpret_cast<char*>(&displacement_)) + sizeof(torque_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainCombustionEngine) +} + +void VehiclePowertrainCombustionEngine::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto.base); + enginecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + configuration_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + compressionratio_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + aspirationtype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + engineoillevel_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&dieselexhaustfluid_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&torque_) - + reinterpret_cast<char*>(&dieselexhaustfluid_)) + sizeof(torque_)); +} + +VehiclePowertrainCombustionEngine::~VehiclePowertrainCombustionEngine() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainCombustionEngine) + SharedDtor(); +} + +void VehiclePowertrainCombustionEngine::SharedDtor() { + enginecode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + configuration_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + compressionratio_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + aspirationtype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + engineoillevel_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete dieselexhaustfluid_; + if (this != internal_default_instance()) delete dieselparticulatefilter_; +} + +void VehiclePowertrainCombustionEngine::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainCombustionEngine& VehiclePowertrainCombustionEngine::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainCombustionEngine_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainCombustionEngine::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + enginecode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + configuration_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + compressionratio_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + aspirationtype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + engineoillevel_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && dieselexhaustfluid_ != nullptr) { + delete dieselexhaustfluid_; + } + dieselexhaustfluid_ = nullptr; + if (GetArenaNoVirtual() == nullptr && dieselparticulatefilter_ != nullptr) { + delete dieselparticulatefilter_; + } + dieselparticulatefilter_ = nullptr; + ::memset(&displacement_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&torque_) - + reinterpret_cast<char*>(&displacement_)) + sizeof(torque_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainCombustionEngine::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string EngineCode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_enginecode(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainCombustionEngine.EngineCode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Displacement = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + displacement_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float StrokeLength = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + strokelength_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Bore = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + bore_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // string Configuration = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_configuration(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainCombustionEngine.Configuration"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 NumberOfCylinders = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + numberofcylinders_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 NumberOfValvesPerCylinder = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + numberofvalvespercylinder_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string CompressionRatio = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_compressionratio(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainCombustionEngine.CompressionRatio"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float EngineOilCapacity = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 77)) { + engineoilcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float EngineCoolantCapacity = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) { + enginecoolantcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 MaxPower = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + maxpower_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxTorque = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { + maxtorque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AspirationType = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_aspirationtype(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainCombustionEngine.AspirationType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string EngineOilLevel = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 114)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_engineoillevel(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainCombustionEngine.EngineOilLevel"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 OilLifeRemaining = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 120)) { + oilliferemaining_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRunning = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) { + isrunning_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Speed = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 136)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float EngineHours = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 149)) { + enginehours_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float IdleHours = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 157)) { + idlehours_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // int32 ECT = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) { + ect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 EOT = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) { + eot_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MAP = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 176)) { + map_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MAF = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) { + maf_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 TPS = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 192)) { + tps_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 EOP = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 200)) { + eop_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Power = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 208)) { + power_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Torque = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 216)) { + torque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid DieselExhaustFluid = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 226)) { + ptr = ctx->ParseMessage(_internal_mutable_dieselexhaustfluid(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter DieselParticulateFilter = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 234)) { + ptr = ctx->ParseMessage(_internal_mutable_dieselparticulatefilter(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainCombustionEngine::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string EngineCode = 1; + if (this->enginecode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_enginecode().data(), static_cast<int>(this->_internal_enginecode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainCombustionEngine.EngineCode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_enginecode(), target); + } + + // uint32 Displacement = 2; + if (this->displacement() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_displacement(), target); + } + + // float StrokeLength = 3; + if (!(this->strokelength() <= 0 && this->strokelength() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_strokelength(), target); + } + + // float Bore = 4; + if (!(this->bore() <= 0 && this->bore() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_bore(), target); + } + + // string Configuration = 5; + if (this->configuration().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_configuration().data(), static_cast<int>(this->_internal_configuration().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainCombustionEngine.Configuration"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_configuration(), target); + } + + // uint32 NumberOfCylinders = 6; + if (this->numberofcylinders() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_numberofcylinders(), target); + } + + // uint32 NumberOfValvesPerCylinder = 7; + if (this->numberofvalvespercylinder() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_numberofvalvespercylinder(), target); + } + + // string CompressionRatio = 8; + if (this->compressionratio().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_compressionratio().data(), static_cast<int>(this->_internal_compressionratio().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainCombustionEngine.CompressionRatio"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_compressionratio(), target); + } + + // float EngineOilCapacity = 9; + if (!(this->engineoilcapacity() <= 0 && this->engineoilcapacity() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(9, this->_internal_engineoilcapacity(), target); + } + + // float EngineCoolantCapacity = 10; + if (!(this->enginecoolantcapacity() <= 0 && this->enginecoolantcapacity() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_enginecoolantcapacity(), target); + } + + // uint32 MaxPower = 11; + if (this->maxpower() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_maxpower(), target); + } + + // uint32 MaxTorque = 12; + if (this->maxtorque() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(12, this->_internal_maxtorque(), target); + } + + // string AspirationType = 13; + if (this->aspirationtype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_aspirationtype().data(), static_cast<int>(this->_internal_aspirationtype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainCombustionEngine.AspirationType"); + target = stream->WriteStringMaybeAliased( + 13, this->_internal_aspirationtype(), target); + } + + // string EngineOilLevel = 14; + if (this->engineoillevel().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_engineoillevel().data(), static_cast<int>(this->_internal_engineoillevel().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainCombustionEngine.EngineOilLevel"); + target = stream->WriteStringMaybeAliased( + 14, this->_internal_engineoillevel(), target); + } + + // int32 OilLifeRemaining = 15; + if (this->oilliferemaining() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(15, this->_internal_oilliferemaining(), target); + } + + // bool IsRunning = 16; + if (this->isrunning() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(16, this->_internal_isrunning(), target); + } + + // uint32 Speed = 17; + if (this->speed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(17, this->_internal_speed(), target); + } + + // float EngineHours = 18; + if (!(this->enginehours() <= 0 && this->enginehours() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(18, this->_internal_enginehours(), target); + } + + // float IdleHours = 19; + if (!(this->idlehours() <= 0 && this->idlehours() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(19, this->_internal_idlehours(), target); + } + + // int32 ECT = 20; + if (this->ect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(20, this->_internal_ect(), target); + } + + // int32 EOT = 21; + if (this->eot() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(21, this->_internal_eot(), target); + } + + // uint32 MAP = 22; + if (this->map() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(22, this->_internal_map(), target); + } + + // uint32 MAF = 23; + if (this->maf() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(23, this->_internal_maf(), target); + } + + // uint32 TPS = 24; + if (this->tps() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(24, this->_internal_tps(), target); + } + + // uint32 EOP = 25; + if (this->eop() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(25, this->_internal_eop(), target); + } + + // uint32 Power = 26; + if (this->power() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(26, this->_internal_power(), target); + } + + // uint32 Torque = 27; + if (this->torque() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(27, this->_internal_torque(), target); + } + + // .com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid DieselExhaustFluid = 28; + if (this->has_dieselexhaustfluid()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 28, _Internal::dieselexhaustfluid(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter DieselParticulateFilter = 29; + if (this->has_dieselparticulatefilter()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 29, _Internal::dieselparticulatefilter(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainCombustionEngine) + return target; +} + +size_t VehiclePowertrainCombustionEngine::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string EngineCode = 1; + if (this->enginecode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_enginecode()); + } + + // string Configuration = 5; + if (this->configuration().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_configuration()); + } + + // string CompressionRatio = 8; + if (this->compressionratio().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_compressionratio()); + } + + // string AspirationType = 13; + if (this->aspirationtype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_aspirationtype()); + } + + // string EngineOilLevel = 14; + if (this->engineoillevel().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_engineoillevel()); + } + + // .com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid DieselExhaustFluid = 28; + if (this->has_dieselexhaustfluid()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *dieselexhaustfluid_); + } + + // .com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter DieselParticulateFilter = 29; + if (this->has_dieselparticulatefilter()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *dieselparticulatefilter_); + } + + // uint32 Displacement = 2; + if (this->displacement() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_displacement()); + } + + // float StrokeLength = 3; + if (!(this->strokelength() <= 0 && this->strokelength() >= 0)) { + total_size += 1 + 4; + } + + // float Bore = 4; + if (!(this->bore() <= 0 && this->bore() >= 0)) { + total_size += 1 + 4; + } + + // uint32 NumberOfCylinders = 6; + if (this->numberofcylinders() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_numberofcylinders()); + } + + // uint32 NumberOfValvesPerCylinder = 7; + if (this->numberofvalvespercylinder() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_numberofvalvespercylinder()); + } + + // float EngineOilCapacity = 9; + if (!(this->engineoilcapacity() <= 0 && this->engineoilcapacity() >= 0)) { + total_size += 1 + 4; + } + + // float EngineCoolantCapacity = 10; + if (!(this->enginecoolantcapacity() <= 0 && this->enginecoolantcapacity() >= 0)) { + total_size += 1 + 4; + } + + // uint32 MaxPower = 11; + if (this->maxpower() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxpower()); + } + + // uint32 MaxTorque = 12; + if (this->maxtorque() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxtorque()); + } + + // int32 OilLifeRemaining = 15; + if (this->oilliferemaining() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_oilliferemaining()); + } + + // bool IsRunning = 16; + if (this->isrunning() != 0) { + total_size += 2 + 1; + } + + // uint32 Speed = 17; + if (this->speed() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_speed()); + } + + // float EngineHours = 18; + if (!(this->enginehours() <= 0 && this->enginehours() >= 0)) { + total_size += 2 + 4; + } + + // float IdleHours = 19; + if (!(this->idlehours() <= 0 && this->idlehours() >= 0)) { + total_size += 2 + 4; + } + + // int32 ECT = 20; + if (this->ect() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_ect()); + } + + // int32 EOT = 21; + if (this->eot() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_eot()); + } + + // uint32 MAP = 22; + if (this->map() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_map()); + } + + // uint32 MAF = 23; + if (this->maf() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maf()); + } + + // uint32 TPS = 24; + if (this->tps() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_tps()); + } + + // uint32 EOP = 25; + if (this->eop() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_eop()); + } + + // uint32 Power = 26; + if (this->power() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_power()); + } + + // uint32 Torque = 27; + if (this->torque() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_torque()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainCombustionEngine::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainCombustionEngine* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainCombustionEngine>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainCombustionEngine) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainCombustionEngine) + MergeFrom(*source); + } +} + +void VehiclePowertrainCombustionEngine::MergeFrom(const VehiclePowertrainCombustionEngine& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.enginecode().size() > 0) { + + enginecode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.enginecode_); + } + if (from.configuration().size() > 0) { + + configuration_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.configuration_); + } + if (from.compressionratio().size() > 0) { + + compressionratio_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.compressionratio_); + } + if (from.aspirationtype().size() > 0) { + + aspirationtype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.aspirationtype_); + } + if (from.engineoillevel().size() > 0) { + + engineoillevel_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.engineoillevel_); + } + if (from.has_dieselexhaustfluid()) { + _internal_mutable_dieselexhaustfluid()->::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid::MergeFrom(from._internal_dieselexhaustfluid()); + } + if (from.has_dieselparticulatefilter()) { + _internal_mutable_dieselparticulatefilter()->::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter::MergeFrom(from._internal_dieselparticulatefilter()); + } + if (from.displacement() != 0) { + _internal_set_displacement(from._internal_displacement()); + } + if (!(from.strokelength() <= 0 && from.strokelength() >= 0)) { + _internal_set_strokelength(from._internal_strokelength()); + } + if (!(from.bore() <= 0 && from.bore() >= 0)) { + _internal_set_bore(from._internal_bore()); + } + if (from.numberofcylinders() != 0) { + _internal_set_numberofcylinders(from._internal_numberofcylinders()); + } + if (from.numberofvalvespercylinder() != 0) { + _internal_set_numberofvalvespercylinder(from._internal_numberofvalvespercylinder()); + } + if (!(from.engineoilcapacity() <= 0 && from.engineoilcapacity() >= 0)) { + _internal_set_engineoilcapacity(from._internal_engineoilcapacity()); + } + if (!(from.enginecoolantcapacity() <= 0 && from.enginecoolantcapacity() >= 0)) { + _internal_set_enginecoolantcapacity(from._internal_enginecoolantcapacity()); + } + if (from.maxpower() != 0) { + _internal_set_maxpower(from._internal_maxpower()); + } + if (from.maxtorque() != 0) { + _internal_set_maxtorque(from._internal_maxtorque()); + } + if (from.oilliferemaining() != 0) { + _internal_set_oilliferemaining(from._internal_oilliferemaining()); + } + if (from.isrunning() != 0) { + _internal_set_isrunning(from._internal_isrunning()); + } + if (from.speed() != 0) { + _internal_set_speed(from._internal_speed()); + } + if (!(from.enginehours() <= 0 && from.enginehours() >= 0)) { + _internal_set_enginehours(from._internal_enginehours()); + } + if (!(from.idlehours() <= 0 && from.idlehours() >= 0)) { + _internal_set_idlehours(from._internal_idlehours()); + } + if (from.ect() != 0) { + _internal_set_ect(from._internal_ect()); + } + if (from.eot() != 0) { + _internal_set_eot(from._internal_eot()); + } + if (from.map() != 0) { + _internal_set_map(from._internal_map()); + } + if (from.maf() != 0) { + _internal_set_maf(from._internal_maf()); + } + if (from.tps() != 0) { + _internal_set_tps(from._internal_tps()); + } + if (from.eop() != 0) { + _internal_set_eop(from._internal_eop()); + } + if (from.power() != 0) { + _internal_set_power(from._internal_power()); + } + if (from.torque() != 0) { + _internal_set_torque(from._internal_torque()); + } +} + +void VehiclePowertrainCombustionEngine::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainCombustionEngine::CopyFrom(const VehiclePowertrainCombustionEngine& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngine) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainCombustionEngine::IsInitialized() const { + return true; +} + +void VehiclePowertrainCombustionEngine::InternalSwap(VehiclePowertrainCombustionEngine* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + enginecode_.Swap(&other->enginecode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + configuration_.Swap(&other->configuration_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + compressionratio_.Swap(&other->compressionratio_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + aspirationtype_.Swap(&other->aspirationtype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + engineoillevel_.Swap(&other->engineoillevel_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(dieselexhaustfluid_, other->dieselexhaustfluid_); + swap(dieselparticulatefilter_, other->dieselparticulatefilter_); + swap(displacement_, other->displacement_); + swap(strokelength_, other->strokelength_); + swap(bore_, other->bore_); + swap(numberofcylinders_, other->numberofcylinders_); + swap(numberofvalvespercylinder_, other->numberofvalvespercylinder_); + swap(engineoilcapacity_, other->engineoilcapacity_); + swap(enginecoolantcapacity_, other->enginecoolantcapacity_); + swap(maxpower_, other->maxpower_); + swap(maxtorque_, other->maxtorque_); + swap(oilliferemaining_, other->oilliferemaining_); + swap(isrunning_, other->isrunning_); + swap(speed_, other->speed_); + swap(enginehours_, other->enginehours_); + swap(idlehours_, other->idlehours_); + swap(ect_, other->ect_); + swap(eot_, other->eot_); + swap(map_, other->map_); + swap(maf_, other->maf_); + swap(tps_, other->tps_); + swap(eop_, other->eop_); + swap(power_, other->power_); + swap(torque_, other->torque_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainCombustionEngine::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::InitAsDefaultInstance() { +} +class VehiclePowertrainCombustionEngineDieselExhaustFluid::_Internal { + public: +}; + +VehiclePowertrainCombustionEngineDieselExhaustFluid::VehiclePowertrainCombustionEngineDieselExhaustFluid() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) +} +VehiclePowertrainCombustionEngineDieselExhaustFluid::VehiclePowertrainCombustionEngineDieselExhaustFluid(const VehiclePowertrainCombustionEngineDieselExhaustFluid& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&capacity_, &from.capacity_, + static_cast<size_t>(reinterpret_cast<char*>(&islevellow_) - + reinterpret_cast<char*>(&capacity_)) + sizeof(islevellow_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::SharedCtor() { + ::memset(&capacity_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islevellow_) - + reinterpret_cast<char*>(&capacity_)) + sizeof(islevellow_)); +} + +VehiclePowertrainCombustionEngineDieselExhaustFluid::~VehiclePowertrainCombustionEngineDieselExhaustFluid() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + SharedDtor(); +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::SharedDtor() { +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainCombustionEngineDieselExhaustFluid& VehiclePowertrainCombustionEngineDieselExhaustFluid::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainCombustionEngineDieselExhaustFluid_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&capacity_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islevellow_) - + reinterpret_cast<char*>(&capacity_)) + sizeof(islevellow_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainCombustionEngineDieselExhaustFluid::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Capacity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + capacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Level = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Range = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLevelLow = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + islevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainCombustionEngineDieselExhaustFluid::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Capacity = 1; + if (!(this->capacity() <= 0 && this->capacity() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_capacity(), target); + } + + // uint32 Level = 2; + if (this->level() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_level(), target); + } + + // uint32 Range = 3; + if (this->range() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_range(), target); + } + + // bool IsLevelLow = 4; + if (this->islevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_islevellow(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + return target; +} + +size_t VehiclePowertrainCombustionEngineDieselExhaustFluid::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Capacity = 1; + if (!(this->capacity() <= 0 && this->capacity() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Level = 2; + if (this->level() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_level()); + } + + // uint32 Range = 3; + if (this->range() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_range()); + } + + // bool IsLevelLow = 4; + if (this->islevellow() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainCombustionEngineDieselExhaustFluid* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainCombustionEngineDieselExhaustFluid>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + MergeFrom(*source); + } +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::MergeFrom(const VehiclePowertrainCombustionEngineDieselExhaustFluid& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.capacity() <= 0 && from.capacity() >= 0)) { + _internal_set_capacity(from._internal_capacity()); + } + if (from.level() != 0) { + _internal_set_level(from._internal_level()); + } + if (from.range() != 0) { + _internal_set_range(from._internal_range()); + } + if (from.islevellow() != 0) { + _internal_set_islevellow(from._internal_islevellow()); + } +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::CopyFrom(const VehiclePowertrainCombustionEngineDieselExhaustFluid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselExhaustFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainCombustionEngineDieselExhaustFluid::IsInitialized() const { + return true; +} + +void VehiclePowertrainCombustionEngineDieselExhaustFluid::InternalSwap(VehiclePowertrainCombustionEngineDieselExhaustFluid* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(capacity_, other->capacity_); + swap(level_, other->level_); + swap(range_, other->range_); + swap(islevellow_, other->islevellow_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainCombustionEngineDieselExhaustFluid::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::InitAsDefaultInstance() { +} +class VehiclePowertrainCombustionEngineDieselParticulateFilter::_Internal { + public: +}; + +VehiclePowertrainCombustionEngineDieselParticulateFilter::VehiclePowertrainCombustionEngineDieselParticulateFilter() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) +} +VehiclePowertrainCombustionEngineDieselParticulateFilter::VehiclePowertrainCombustionEngineDieselParticulateFilter(const VehiclePowertrainCombustionEngineDieselParticulateFilter& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&inlettemperature_, &from.inlettemperature_, + static_cast<size_t>(reinterpret_cast<char*>(&deltapressure_) - + reinterpret_cast<char*>(&inlettemperature_)) + sizeof(deltapressure_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::SharedCtor() { + ::memset(&inlettemperature_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&deltapressure_) - + reinterpret_cast<char*>(&inlettemperature_)) + sizeof(deltapressure_)); +} + +VehiclePowertrainCombustionEngineDieselParticulateFilter::~VehiclePowertrainCombustionEngineDieselParticulateFilter() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + SharedDtor(); +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::SharedDtor() { +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainCombustionEngineDieselParticulateFilter& VehiclePowertrainCombustionEngineDieselParticulateFilter::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainCombustionEngineDieselParticulateFilter_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&inlettemperature_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&deltapressure_) - + reinterpret_cast<char*>(&inlettemperature_)) + sizeof(deltapressure_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainCombustionEngineDieselParticulateFilter::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float InletTemperature = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + inlettemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float OutletTemperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + outlettemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float DeltaPressure = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + deltapressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainCombustionEngineDieselParticulateFilter::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float InletTemperature = 1; + if (!(this->inlettemperature() <= 0 && this->inlettemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_inlettemperature(), target); + } + + // float OutletTemperature = 2; + if (!(this->outlettemperature() <= 0 && this->outlettemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_outlettemperature(), target); + } + + // float DeltaPressure = 3; + if (!(this->deltapressure() <= 0 && this->deltapressure() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_deltapressure(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + return target; +} + +size_t VehiclePowertrainCombustionEngineDieselParticulateFilter::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float InletTemperature = 1; + if (!(this->inlettemperature() <= 0 && this->inlettemperature() >= 0)) { + total_size += 1 + 4; + } + + // float OutletTemperature = 2; + if (!(this->outlettemperature() <= 0 && this->outlettemperature() >= 0)) { + total_size += 1 + 4; + } + + // float DeltaPressure = 3; + if (!(this->deltapressure() <= 0 && this->deltapressure() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainCombustionEngineDieselParticulateFilter* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainCombustionEngineDieselParticulateFilter>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + MergeFrom(*source); + } +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::MergeFrom(const VehiclePowertrainCombustionEngineDieselParticulateFilter& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.inlettemperature() <= 0 && from.inlettemperature() >= 0)) { + _internal_set_inlettemperature(from._internal_inlettemperature()); + } + if (!(from.outlettemperature() <= 0 && from.outlettemperature() >= 0)) { + _internal_set_outlettemperature(from._internal_outlettemperature()); + } + if (!(from.deltapressure() <= 0 && from.deltapressure() >= 0)) { + _internal_set_deltapressure(from._internal_deltapressure()); + } +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::CopyFrom(const VehiclePowertrainCombustionEngineDieselParticulateFilter& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainCombustionEngineDieselParticulateFilter) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainCombustionEngineDieselParticulateFilter::IsInitialized() const { + return true; +} + +void VehiclePowertrainCombustionEngineDieselParticulateFilter::InternalSwap(VehiclePowertrainCombustionEngineDieselParticulateFilter* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(inlettemperature_, other->inlettemperature_); + swap(outlettemperature_, other->outlettemperature_); + swap(deltapressure_, other->deltapressure_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainCombustionEngineDieselParticulateFilter::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTransmission::InitAsDefaultInstance() { +} +class VehiclePowertrainTransmission::_Internal { + public: +}; + +VehiclePowertrainTransmission::VehiclePowertrainTransmission() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTransmission) +} +VehiclePowertrainTransmission::VehiclePowertrainTransmission(const VehiclePowertrainTransmission& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_type().empty()) { + type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.type_); + } + drivetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_drivetype().empty()) { + drivetype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.drivetype_); + } + performancemode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_performancemode().empty()) { + performancemode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.performancemode_); + } + gearchangemode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_gearchangemode().empty()) { + gearchangemode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.gearchangemode_); + } + ::memcpy(&gearcount_, &from.gearcount_, + static_cast<size_t>(reinterpret_cast<char*>(&torquedistribution_) - + reinterpret_cast<char*>(&gearcount_)) + sizeof(torquedistribution_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTransmission) +} + +void VehiclePowertrainTransmission::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto.base); + type_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + drivetype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + performancemode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + gearchangemode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&gearcount_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&torquedistribution_) - + reinterpret_cast<char*>(&gearcount_)) + sizeof(torquedistribution_)); +} + +VehiclePowertrainTransmission::~VehiclePowertrainTransmission() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTransmission) + SharedDtor(); +} + +void VehiclePowertrainTransmission::SharedDtor() { + type_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + drivetype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + performancemode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + gearchangemode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehiclePowertrainTransmission::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTransmission& VehiclePowertrainTransmission::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTransmission_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTransmission::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTransmission) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + type_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + drivetype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + performancemode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + gearchangemode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&gearcount_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&torquedistribution_) - + reinterpret_cast<char*>(&gearcount_)) + sizeof(torquedistribution_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTransmission::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Type = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_type(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTransmission.Type"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 GearCount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + gearcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string DriveType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_drivetype(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTransmission.DriveType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float TravelledDistance = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + travelleddistance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // int32 CurrentGear = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + currentgear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 SelectedGear = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + selectedgear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsParkLockEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + isparklockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLowRangeEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + islowrangeengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsElectricalPowertrainEngaged = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + iselectricalpowertrainengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string PerformanceMode = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_performancemode(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTransmission.PerformanceMode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string GearChangeMode = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_gearchangemode(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTransmission.GearChangeMode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float ClutchEngagement = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) { + clutchengagement_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 ClutchWear = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 112)) { + clutchwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float DiffLockFrontEngagement = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 125)) { + difflockfrontengagement_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float DiffLockRearEngagement = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 133)) { + difflockrearengagement_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TorqueDistribution = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 141)) { + torquedistribution_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTransmission::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTransmission) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Type = 1; + if (this->type().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_type().data(), static_cast<int>(this->_internal_type().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTransmission.Type"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_type(), target); + } + + // int32 GearCount = 2; + if (this->gearcount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_gearcount(), target); + } + + // string DriveType = 3; + if (this->drivetype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_drivetype().data(), static_cast<int>(this->_internal_drivetype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTransmission.DriveType"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_drivetype(), target); + } + + // float TravelledDistance = 4; + if (!(this->travelleddistance() <= 0 && this->travelleddistance() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_travelleddistance(), target); + } + + // int32 CurrentGear = 5; + if (this->currentgear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(5, this->_internal_currentgear(), target); + } + + // int32 SelectedGear = 6; + if (this->selectedgear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(6, this->_internal_selectedgear(), target); + } + + // bool IsParkLockEngaged = 7; + if (this->isparklockengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_isparklockengaged(), target); + } + + // bool IsLowRangeEngaged = 8; + if (this->islowrangeengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_islowrangeengaged(), target); + } + + // bool IsElectricalPowertrainEngaged = 9; + if (this->iselectricalpowertrainengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_iselectricalpowertrainengaged(), target); + } + + // string PerformanceMode = 10; + if (this->performancemode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_performancemode().data(), static_cast<int>(this->_internal_performancemode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTransmission.PerformanceMode"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_performancemode(), target); + } + + // string GearChangeMode = 11; + if (this->gearchangemode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_gearchangemode().data(), static_cast<int>(this->_internal_gearchangemode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTransmission.GearChangeMode"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_gearchangemode(), target); + } + + // int32 Temperature = 12; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(12, this->_internal_temperature(), target); + } + + // float ClutchEngagement = 13; + if (!(this->clutchengagement() <= 0 && this->clutchengagement() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(13, this->_internal_clutchengagement(), target); + } + + // uint32 ClutchWear = 14; + if (this->clutchwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(14, this->_internal_clutchwear(), target); + } + + // float DiffLockFrontEngagement = 15; + if (!(this->difflockfrontengagement() <= 0 && this->difflockfrontengagement() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(15, this->_internal_difflockfrontengagement(), target); + } + + // float DiffLockRearEngagement = 16; + if (!(this->difflockrearengagement() <= 0 && this->difflockrearengagement() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(16, this->_internal_difflockrearengagement(), target); + } + + // float TorqueDistribution = 17; + if (!(this->torquedistribution() <= 0 && this->torquedistribution() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(17, this->_internal_torquedistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTransmission) + return target; +} + +size_t VehiclePowertrainTransmission::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTransmission) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Type = 1; + if (this->type().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_type()); + } + + // string DriveType = 3; + if (this->drivetype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_drivetype()); + } + + // string PerformanceMode = 10; + if (this->performancemode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_performancemode()); + } + + // string GearChangeMode = 11; + if (this->gearchangemode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_gearchangemode()); + } + + // int32 GearCount = 2; + if (this->gearcount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_gearcount()); + } + + // float TravelledDistance = 4; + if (!(this->travelleddistance() <= 0 && this->travelleddistance() >= 0)) { + total_size += 1 + 4; + } + + // int32 CurrentGear = 5; + if (this->currentgear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_currentgear()); + } + + // int32 SelectedGear = 6; + if (this->selectedgear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_selectedgear()); + } + + // bool IsParkLockEngaged = 7; + if (this->isparklockengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLowRangeEngaged = 8; + if (this->islowrangeengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsElectricalPowertrainEngaged = 9; + if (this->iselectricalpowertrainengaged() != 0) { + total_size += 1 + 1; + } + + // int32 Temperature = 12; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + // float ClutchEngagement = 13; + if (!(this->clutchengagement() <= 0 && this->clutchengagement() >= 0)) { + total_size += 1 + 4; + } + + // uint32 ClutchWear = 14; + if (this->clutchwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_clutchwear()); + } + + // float DiffLockFrontEngagement = 15; + if (!(this->difflockfrontengagement() <= 0 && this->difflockfrontengagement() >= 0)) { + total_size += 1 + 4; + } + + // float DiffLockRearEngagement = 16; + if (!(this->difflockrearengagement() <= 0 && this->difflockrearengagement() >= 0)) { + total_size += 2 + 4; + } + + // float TorqueDistribution = 17; + if (!(this->torquedistribution() <= 0 && this->torquedistribution() >= 0)) { + total_size += 2 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTransmission::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTransmission) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTransmission* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTransmission>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTransmission) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTransmission) + MergeFrom(*source); + } +} + +void VehiclePowertrainTransmission::MergeFrom(const VehiclePowertrainTransmission& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTransmission) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.type().size() > 0) { + + type_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.type_); + } + if (from.drivetype().size() > 0) { + + drivetype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.drivetype_); + } + if (from.performancemode().size() > 0) { + + performancemode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.performancemode_); + } + if (from.gearchangemode().size() > 0) { + + gearchangemode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.gearchangemode_); + } + if (from.gearcount() != 0) { + _internal_set_gearcount(from._internal_gearcount()); + } + if (!(from.travelleddistance() <= 0 && from.travelleddistance() >= 0)) { + _internal_set_travelleddistance(from._internal_travelleddistance()); + } + if (from.currentgear() != 0) { + _internal_set_currentgear(from._internal_currentgear()); + } + if (from.selectedgear() != 0) { + _internal_set_selectedgear(from._internal_selectedgear()); + } + if (from.isparklockengaged() != 0) { + _internal_set_isparklockengaged(from._internal_isparklockengaged()); + } + if (from.islowrangeengaged() != 0) { + _internal_set_islowrangeengaged(from._internal_islowrangeengaged()); + } + if (from.iselectricalpowertrainengaged() != 0) { + _internal_set_iselectricalpowertrainengaged(from._internal_iselectricalpowertrainengaged()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } + if (!(from.clutchengagement() <= 0 && from.clutchengagement() >= 0)) { + _internal_set_clutchengagement(from._internal_clutchengagement()); + } + if (from.clutchwear() != 0) { + _internal_set_clutchwear(from._internal_clutchwear()); + } + if (!(from.difflockfrontengagement() <= 0 && from.difflockfrontengagement() >= 0)) { + _internal_set_difflockfrontengagement(from._internal_difflockfrontengagement()); + } + if (!(from.difflockrearengagement() <= 0 && from.difflockrearengagement() >= 0)) { + _internal_set_difflockrearengagement(from._internal_difflockrearengagement()); + } + if (!(from.torquedistribution() <= 0 && from.torquedistribution() >= 0)) { + _internal_set_torquedistribution(from._internal_torquedistribution()); + } +} + +void VehiclePowertrainTransmission::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTransmission) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTransmission::CopyFrom(const VehiclePowertrainTransmission& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTransmission) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTransmission::IsInitialized() const { + return true; +} + +void VehiclePowertrainTransmission::InternalSwap(VehiclePowertrainTransmission* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + type_.Swap(&other->type_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + drivetype_.Swap(&other->drivetype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + performancemode_.Swap(&other->performancemode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + gearchangemode_.Swap(&other->gearchangemode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(gearcount_, other->gearcount_); + swap(travelleddistance_, other->travelleddistance_); + swap(currentgear_, other->currentgear_); + swap(selectedgear_, other->selectedgear_); + swap(isparklockengaged_, other->isparklockengaged_); + swap(islowrangeengaged_, other->islowrangeengaged_); + swap(iselectricalpowertrainengaged_, other->iselectricalpowertrainengaged_); + swap(temperature_, other->temperature_); + swap(clutchengagement_, other->clutchengagement_); + swap(clutchwear_, other->clutchwear_); + swap(difflockfrontengagement_, other->difflockfrontengagement_); + swap(difflockrearengagement_, other->difflockrearengagement_); + swap(torquedistribution_, other->torquedistribution_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTransmission::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainElectricMotor::InitAsDefaultInstance() { +} +class VehiclePowertrainElectricMotor::_Internal { + public: +}; + +VehiclePowertrainElectricMotor::VehiclePowertrainElectricMotor() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainElectricMotor) +} +VehiclePowertrainElectricMotor::VehiclePowertrainElectricMotor(const VehiclePowertrainElectricMotor& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + enginecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_enginecode().empty()) { + enginecode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.enginecode_); + } + ::memcpy(&maxpower_, &from.maxpower_, + static_cast<size_t>(reinterpret_cast<char*>(&torque_) - + reinterpret_cast<char*>(&maxpower_)) + sizeof(torque_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainElectricMotor) +} + +void VehiclePowertrainElectricMotor::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto.base); + enginecode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&maxpower_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&torque_) - + reinterpret_cast<char*>(&maxpower_)) + sizeof(torque_)); +} + +VehiclePowertrainElectricMotor::~VehiclePowertrainElectricMotor() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainElectricMotor) + SharedDtor(); +} + +void VehiclePowertrainElectricMotor::SharedDtor() { + enginecode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehiclePowertrainElectricMotor::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainElectricMotor& VehiclePowertrainElectricMotor::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainElectricMotor_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainElectricMotor::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + enginecode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&maxpower_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&torque_) - + reinterpret_cast<char*>(&maxpower_)) + sizeof(torque_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainElectricMotor::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string EngineCode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_enginecode(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainElectricMotor.EngineCode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxPower = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + maxpower_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxTorque = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + maxtorque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxRegenPower = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + maxregenpower_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxRegenTorque = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + maxregentorque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Speed = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 CoolantTemperature = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + coolanttemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Power = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + power_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Torque = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + torque_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainElectricMotor::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string EngineCode = 1; + if (this->enginecode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_enginecode().data(), static_cast<int>(this->_internal_enginecode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainElectricMotor.EngineCode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_enginecode(), target); + } + + // uint32 MaxPower = 2; + if (this->maxpower() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_maxpower(), target); + } + + // uint32 MaxTorque = 3; + if (this->maxtorque() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_maxtorque(), target); + } + + // uint32 MaxRegenPower = 4; + if (this->maxregenpower() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_maxregenpower(), target); + } + + // uint32 MaxRegenTorque = 5; + if (this->maxregentorque() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_maxregentorque(), target); + } + + // int32 Speed = 6; + if (this->speed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(6, this->_internal_speed(), target); + } + + // int32 Temperature = 7; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(7, this->_internal_temperature(), target); + } + + // int32 CoolantTemperature = 8; + if (this->coolanttemperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(8, this->_internal_coolanttemperature(), target); + } + + // int32 Power = 9; + if (this->power() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(9, this->_internal_power(), target); + } + + // int32 Torque = 10; + if (this->torque() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(10, this->_internal_torque(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainElectricMotor) + return target; +} + +size_t VehiclePowertrainElectricMotor::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string EngineCode = 1; + if (this->enginecode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_enginecode()); + } + + // uint32 MaxPower = 2; + if (this->maxpower() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxpower()); + } + + // uint32 MaxTorque = 3; + if (this->maxtorque() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxtorque()); + } + + // uint32 MaxRegenPower = 4; + if (this->maxregenpower() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxregenpower()); + } + + // uint32 MaxRegenTorque = 5; + if (this->maxregentorque() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxregentorque()); + } + + // int32 Speed = 6; + if (this->speed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_speed()); + } + + // int32 Temperature = 7; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + // int32 CoolantTemperature = 8; + if (this->coolanttemperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_coolanttemperature()); + } + + // int32 Power = 9; + if (this->power() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_power()); + } + + // int32 Torque = 10; + if (this->torque() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_torque()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainElectricMotor::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainElectricMotor* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainElectricMotor>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainElectricMotor) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainElectricMotor) + MergeFrom(*source); + } +} + +void VehiclePowertrainElectricMotor::MergeFrom(const VehiclePowertrainElectricMotor& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.enginecode().size() > 0) { + + enginecode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.enginecode_); + } + if (from.maxpower() != 0) { + _internal_set_maxpower(from._internal_maxpower()); + } + if (from.maxtorque() != 0) { + _internal_set_maxtorque(from._internal_maxtorque()); + } + if (from.maxregenpower() != 0) { + _internal_set_maxregenpower(from._internal_maxregenpower()); + } + if (from.maxregentorque() != 0) { + _internal_set_maxregentorque(from._internal_maxregentorque()); + } + if (from.speed() != 0) { + _internal_set_speed(from._internal_speed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } + if (from.coolanttemperature() != 0) { + _internal_set_coolanttemperature(from._internal_coolanttemperature()); + } + if (from.power() != 0) { + _internal_set_power(from._internal_power()); + } + if (from.torque() != 0) { + _internal_set_torque(from._internal_torque()); + } +} + +void VehiclePowertrainElectricMotor::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainElectricMotor::CopyFrom(const VehiclePowertrainElectricMotor& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainElectricMotor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainElectricMotor::IsInitialized() const { + return true; +} + +void VehiclePowertrainElectricMotor::InternalSwap(VehiclePowertrainElectricMotor* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + enginecode_.Swap(&other->enginecode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(maxpower_, other->maxpower_); + swap(maxtorque_, other->maxtorque_); + swap(maxregenpower_, other->maxregenpower_); + swap(maxregentorque_, other->maxregentorque_); + swap(speed_, other->speed_); + swap(temperature_, other->temperature_); + swap(coolanttemperature_, other->coolanttemperature_); + swap(power_, other->power_); + swap(torque_, other->torque_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainElectricMotor::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBattery::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehiclePowertrainTractionBattery_default_instance_._instance.get_mutable()->temperature_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainTractionBattery_default_instance_._instance.get_mutable()->stateofcharge_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainTractionBattery_default_instance_._instance.get_mutable()->charging_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainTractionBattery_default_instance_._instance.get_mutable()->dcdc_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC::internal_default_instance()); +} +class VehiclePowertrainTractionBattery::_Internal { + public: + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature& temperature(const VehiclePowertrainTractionBattery* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge& stateofcharge(const VehiclePowertrainTractionBattery* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging& charging(const VehiclePowertrainTractionBattery* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC& dcdc(const VehiclePowertrainTractionBattery* msg); +}; + +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature& +VehiclePowertrainTractionBattery::_Internal::temperature(const VehiclePowertrainTractionBattery* msg) { + return *msg->temperature_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge& +VehiclePowertrainTractionBattery::_Internal::stateofcharge(const VehiclePowertrainTractionBattery* msg) { + return *msg->stateofcharge_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging& +VehiclePowertrainTractionBattery::_Internal::charging(const VehiclePowertrainTractionBattery* msg) { + return *msg->charging_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC& +VehiclePowertrainTractionBattery::_Internal::dcdc(const VehiclePowertrainTractionBattery* msg) { + return *msg->dcdc_; +} +VehiclePowertrainTractionBattery::VehiclePowertrainTractionBattery() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBattery) +} +VehiclePowertrainTractionBattery::VehiclePowertrainTractionBattery(const VehiclePowertrainTractionBattery& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_id().empty()) { + id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + } + productiondate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_productiondate().empty()) { + productiondate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.productiondate_); + } + if (from._internal_has_temperature()) { + temperature_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature(*from.temperature_); + } else { + temperature_ = nullptr; + } + if (from._internal_has_stateofcharge()) { + stateofcharge_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge(*from.stateofcharge_); + } else { + stateofcharge_ = nullptr; + } + if (from._internal_has_charging()) { + charging_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging(*from.charging_); + } else { + charging_ = nullptr; + } + if (from._internal_has_dcdc()) { + dcdc_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC(*from.dcdc_); + } else { + dcdc_ = nullptr; + } + ::memcpy(&ispowerconnected_, &from.ispowerconnected_, + static_cast<size_t>(reinterpret_cast<char*>(&range_) - + reinterpret_cast<char*>(&ispowerconnected_)) + sizeof(range_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBattery) +} + +void VehiclePowertrainTractionBattery::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto.base); + id_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + productiondate_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&temperature_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&range_) - + reinterpret_cast<char*>(&temperature_)) + sizeof(range_)); +} + +VehiclePowertrainTractionBattery::~VehiclePowertrainTractionBattery() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBattery) + SharedDtor(); +} + +void VehiclePowertrainTractionBattery::SharedDtor() { + id_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + productiondate_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete temperature_; + if (this != internal_default_instance()) delete stateofcharge_; + if (this != internal_default_instance()) delete charging_; + if (this != internal_default_instance()) delete dcdc_; +} + +void VehiclePowertrainTractionBattery::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBattery& VehiclePowertrainTractionBattery::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBattery_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBattery::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + id_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + productiondate_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && temperature_ != nullptr) { + delete temperature_; + } + temperature_ = nullptr; + if (GetArenaNoVirtual() == nullptr && stateofcharge_ != nullptr) { + delete stateofcharge_; + } + stateofcharge_ = nullptr; + if (GetArenaNoVirtual() == nullptr && charging_ != nullptr) { + delete charging_; + } + charging_ = nullptr; + if (GetArenaNoVirtual() == nullptr && dcdc_ != nullptr) { + delete dcdc_; + } + dcdc_ = nullptr; + ::memset(&ispowerconnected_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&range_) - + reinterpret_cast<char*>(&ispowerconnected_)) + sizeof(range_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBattery::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Id = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_id(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBattery.Id"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string ProductionDate = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_productiondate(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBattery.ProductionDate"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPowerConnected = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + ispowerconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsGroundConnected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isgroundconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature Temperature = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_temperature(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 GrossCapacity = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + grosscapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 NetCapacity = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + netcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float StateOfHealth = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + stateofhealth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge StateOfCharge = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_stateofcharge(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 NominalVoltage = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + nominalvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 MaxVoltage = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + maxvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float CurrentVoltage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 101)) { + currentvoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float CurrentCurrent = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) { + currentcurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float CurrentPower = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 117)) { + currentpower_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AccumulatedChargedEnergy = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 125)) { + accumulatedchargedenergy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AccumulatedConsumedEnergy = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 133)) { + accumulatedconsumedenergy_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AccumulatedChargedThroughput = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 141)) { + accumulatedchargedthroughput_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AccumulatedConsumedThroughput = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 149)) { + accumulatedconsumedthroughput_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float PowerLoss = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 157)) { + powerloss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Range = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 160)) { + range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryCharging Charging = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 170)) { + ptr = ctx->ParseMessage(_internal_mutable_charging(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC DCDC = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { + ptr = ctx->ParseMessage(_internal_mutable_dcdc(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBattery::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Id = 1; + if (this->id().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_id().data(), static_cast<int>(this->_internal_id().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBattery.Id"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_id(), target); + } + + // string ProductionDate = 2; + if (this->productiondate().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_productiondate().data(), static_cast<int>(this->_internal_productiondate().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBattery.ProductionDate"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_productiondate(), target); + } + + // bool IsPowerConnected = 3; + if (this->ispowerconnected() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_ispowerconnected(), target); + } + + // bool IsGroundConnected = 4; + if (this->isgroundconnected() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isgroundconnected(), target); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature Temperature = 5; + if (this->has_temperature()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::temperature(this), target, stream); + } + + // uint32 GrossCapacity = 6; + if (this->grosscapacity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_grosscapacity(), target); + } + + // uint32 NetCapacity = 7; + if (this->netcapacity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_netcapacity(), target); + } + + // float StateOfHealth = 8; + if (!(this->stateofhealth() <= 0 && this->stateofhealth() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_stateofhealth(), target); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge StateOfCharge = 9; + if (this->has_stateofcharge()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::stateofcharge(this), target, stream); + } + + // uint32 NominalVoltage = 10; + if (this->nominalvoltage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_nominalvoltage(), target); + } + + // uint32 MaxVoltage = 11; + if (this->maxvoltage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_maxvoltage(), target); + } + + // float CurrentVoltage = 12; + if (!(this->currentvoltage() <= 0 && this->currentvoltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(12, this->_internal_currentvoltage(), target); + } + + // float CurrentCurrent = 13; + if (!(this->currentcurrent() <= 0 && this->currentcurrent() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(13, this->_internal_currentcurrent(), target); + } + + // float CurrentPower = 14; + if (!(this->currentpower() <= 0 && this->currentpower() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(14, this->_internal_currentpower(), target); + } + + // float AccumulatedChargedEnergy = 15; + if (!(this->accumulatedchargedenergy() <= 0 && this->accumulatedchargedenergy() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(15, this->_internal_accumulatedchargedenergy(), target); + } + + // float AccumulatedConsumedEnergy = 16; + if (!(this->accumulatedconsumedenergy() <= 0 && this->accumulatedconsumedenergy() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(16, this->_internal_accumulatedconsumedenergy(), target); + } + + // float AccumulatedChargedThroughput = 17; + if (!(this->accumulatedchargedthroughput() <= 0 && this->accumulatedchargedthroughput() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(17, this->_internal_accumulatedchargedthroughput(), target); + } + + // float AccumulatedConsumedThroughput = 18; + if (!(this->accumulatedconsumedthroughput() <= 0 && this->accumulatedconsumedthroughput() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(18, this->_internal_accumulatedconsumedthroughput(), target); + } + + // float PowerLoss = 19; + if (!(this->powerloss() <= 0 && this->powerloss() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(19, this->_internal_powerloss(), target); + } + + // uint32 Range = 20; + if (this->range() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(20, this->_internal_range(), target); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryCharging Charging = 21; + if (this->has_charging()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 21, _Internal::charging(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC DCDC = 22; + if (this->has_dcdc()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 22, _Internal::dcdc(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBattery) + return target; +} + +size_t VehiclePowertrainTractionBattery::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Id = 1; + if (this->id().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_id()); + } + + // string ProductionDate = 2; + if (this->productiondate().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_productiondate()); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature Temperature = 5; + if (this->has_temperature()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *temperature_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge StateOfCharge = 9; + if (this->has_stateofcharge()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *stateofcharge_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryCharging Charging = 21; + if (this->has_charging()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *charging_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC DCDC = 22; + if (this->has_dcdc()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *dcdc_); + } + + // bool IsPowerConnected = 3; + if (this->ispowerconnected() != 0) { + total_size += 1 + 1; + } + + // bool IsGroundConnected = 4; + if (this->isgroundconnected() != 0) { + total_size += 1 + 1; + } + + // uint32 GrossCapacity = 6; + if (this->grosscapacity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_grosscapacity()); + } + + // uint32 NetCapacity = 7; + if (this->netcapacity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_netcapacity()); + } + + // float StateOfHealth = 8; + if (!(this->stateofhealth() <= 0 && this->stateofhealth() >= 0)) { + total_size += 1 + 4; + } + + // uint32 NominalVoltage = 10; + if (this->nominalvoltage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_nominalvoltage()); + } + + // uint32 MaxVoltage = 11; + if (this->maxvoltage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_maxvoltage()); + } + + // float CurrentVoltage = 12; + if (!(this->currentvoltage() <= 0 && this->currentvoltage() >= 0)) { + total_size += 1 + 4; + } + + // float CurrentCurrent = 13; + if (!(this->currentcurrent() <= 0 && this->currentcurrent() >= 0)) { + total_size += 1 + 4; + } + + // float CurrentPower = 14; + if (!(this->currentpower() <= 0 && this->currentpower() >= 0)) { + total_size += 1 + 4; + } + + // float AccumulatedChargedEnergy = 15; + if (!(this->accumulatedchargedenergy() <= 0 && this->accumulatedchargedenergy() >= 0)) { + total_size += 1 + 4; + } + + // float AccumulatedConsumedEnergy = 16; + if (!(this->accumulatedconsumedenergy() <= 0 && this->accumulatedconsumedenergy() >= 0)) { + total_size += 2 + 4; + } + + // float AccumulatedChargedThroughput = 17; + if (!(this->accumulatedchargedthroughput() <= 0 && this->accumulatedchargedthroughput() >= 0)) { + total_size += 2 + 4; + } + + // float AccumulatedConsumedThroughput = 18; + if (!(this->accumulatedconsumedthroughput() <= 0 && this->accumulatedconsumedthroughput() >= 0)) { + total_size += 2 + 4; + } + + // float PowerLoss = 19; + if (!(this->powerloss() <= 0 && this->powerloss() >= 0)) { + total_size += 2 + 4; + } + + // uint32 Range = 20; + if (this->range() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_range()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBattery::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBattery* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBattery>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBattery) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBattery) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBattery::MergeFrom(const VehiclePowertrainTractionBattery& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.id().size() > 0) { + + id_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.id_); + } + if (from.productiondate().size() > 0) { + + productiondate_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.productiondate_); + } + if (from.has_temperature()) { + _internal_mutable_temperature()->::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature::MergeFrom(from._internal_temperature()); + } + if (from.has_stateofcharge()) { + _internal_mutable_stateofcharge()->::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge::MergeFrom(from._internal_stateofcharge()); + } + if (from.has_charging()) { + _internal_mutable_charging()->::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging::MergeFrom(from._internal_charging()); + } + if (from.has_dcdc()) { + _internal_mutable_dcdc()->::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC::MergeFrom(from._internal_dcdc()); + } + if (from.ispowerconnected() != 0) { + _internal_set_ispowerconnected(from._internal_ispowerconnected()); + } + if (from.isgroundconnected() != 0) { + _internal_set_isgroundconnected(from._internal_isgroundconnected()); + } + if (from.grosscapacity() != 0) { + _internal_set_grosscapacity(from._internal_grosscapacity()); + } + if (from.netcapacity() != 0) { + _internal_set_netcapacity(from._internal_netcapacity()); + } + if (!(from.stateofhealth() <= 0 && from.stateofhealth() >= 0)) { + _internal_set_stateofhealth(from._internal_stateofhealth()); + } + if (from.nominalvoltage() != 0) { + _internal_set_nominalvoltage(from._internal_nominalvoltage()); + } + if (from.maxvoltage() != 0) { + _internal_set_maxvoltage(from._internal_maxvoltage()); + } + if (!(from.currentvoltage() <= 0 && from.currentvoltage() >= 0)) { + _internal_set_currentvoltage(from._internal_currentvoltage()); + } + if (!(from.currentcurrent() <= 0 && from.currentcurrent() >= 0)) { + _internal_set_currentcurrent(from._internal_currentcurrent()); + } + if (!(from.currentpower() <= 0 && from.currentpower() >= 0)) { + _internal_set_currentpower(from._internal_currentpower()); + } + if (!(from.accumulatedchargedenergy() <= 0 && from.accumulatedchargedenergy() >= 0)) { + _internal_set_accumulatedchargedenergy(from._internal_accumulatedchargedenergy()); + } + if (!(from.accumulatedconsumedenergy() <= 0 && from.accumulatedconsumedenergy() >= 0)) { + _internal_set_accumulatedconsumedenergy(from._internal_accumulatedconsumedenergy()); + } + if (!(from.accumulatedchargedthroughput() <= 0 && from.accumulatedchargedthroughput() >= 0)) { + _internal_set_accumulatedchargedthroughput(from._internal_accumulatedchargedthroughput()); + } + if (!(from.accumulatedconsumedthroughput() <= 0 && from.accumulatedconsumedthroughput() >= 0)) { + _internal_set_accumulatedconsumedthroughput(from._internal_accumulatedconsumedthroughput()); + } + if (!(from.powerloss() <= 0 && from.powerloss() >= 0)) { + _internal_set_powerloss(from._internal_powerloss()); + } + if (from.range() != 0) { + _internal_set_range(from._internal_range()); + } +} + +void VehiclePowertrainTractionBattery::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBattery::CopyFrom(const VehiclePowertrainTractionBattery& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBattery) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBattery::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBattery::InternalSwap(VehiclePowertrainTractionBattery* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + id_.Swap(&other->id_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + productiondate_.Swap(&other->productiondate_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(temperature_, other->temperature_); + swap(stateofcharge_, other->stateofcharge_); + swap(charging_, other->charging_); + swap(dcdc_, other->dcdc_); + swap(ispowerconnected_, other->ispowerconnected_); + swap(isgroundconnected_, other->isgroundconnected_); + swap(grosscapacity_, other->grosscapacity_); + swap(netcapacity_, other->netcapacity_); + swap(stateofhealth_, other->stateofhealth_); + swap(nominalvoltage_, other->nominalvoltage_); + swap(maxvoltage_, other->maxvoltage_); + swap(currentvoltage_, other->currentvoltage_); + swap(currentcurrent_, other->currentcurrent_); + swap(currentpower_, other->currentpower_); + swap(accumulatedchargedenergy_, other->accumulatedchargedenergy_); + swap(accumulatedconsumedenergy_, other->accumulatedconsumedenergy_); + swap(accumulatedchargedthroughput_, other->accumulatedchargedthroughput_); + swap(accumulatedconsumedthroughput_, other->accumulatedconsumedthroughput_); + swap(powerloss_, other->powerloss_); + swap(range_, other->range_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBattery::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryTemperature::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryTemperature::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryTemperature::VehiclePowertrainTractionBatteryTemperature() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) +} +VehiclePowertrainTractionBatteryTemperature::VehiclePowertrainTractionBatteryTemperature(const VehiclePowertrainTractionBatteryTemperature& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&average_, &from.average_, + static_cast<size_t>(reinterpret_cast<char*>(&max_) - + reinterpret_cast<char*>(&average_)) + sizeof(max_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) +} + +void VehiclePowertrainTractionBatteryTemperature::SharedCtor() { + ::memset(&average_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&max_) - + reinterpret_cast<char*>(&average_)) + sizeof(max_)); +} + +VehiclePowertrainTractionBatteryTemperature::~VehiclePowertrainTractionBatteryTemperature() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryTemperature::SharedDtor() { +} + +void VehiclePowertrainTractionBatteryTemperature::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryTemperature& VehiclePowertrainTractionBatteryTemperature::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryTemperature_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryTemperature::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&average_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&max_) - + reinterpret_cast<char*>(&average_)) + sizeof(max_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryTemperature::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Average = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + average_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Min = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + min_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Max = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + max_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryTemperature::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Average = 1; + if (!(this->average() <= 0 && this->average() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_average(), target); + } + + // float Min = 2; + if (!(this->min() <= 0 && this->min() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_min(), target); + } + + // float Max = 3; + if (!(this->max() <= 0 && this->max() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_max(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + return target; +} + +size_t VehiclePowertrainTractionBatteryTemperature::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Average = 1; + if (!(this->average() <= 0 && this->average() >= 0)) { + total_size += 1 + 4; + } + + // float Min = 2; + if (!(this->min() <= 0 && this->min() >= 0)) { + total_size += 1 + 4; + } + + // float Max = 3; + if (!(this->max() <= 0 && this->max() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryTemperature::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryTemperature* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryTemperature>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryTemperature::MergeFrom(const VehiclePowertrainTractionBatteryTemperature& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.average() <= 0 && from.average() >= 0)) { + _internal_set_average(from._internal_average()); + } + if (!(from.min() <= 0 && from.min() >= 0)) { + _internal_set_min(from._internal_min()); + } + if (!(from.max() <= 0 && from.max() >= 0)) { + _internal_set_max(from._internal_max()); + } +} + +void VehiclePowertrainTractionBatteryTemperature::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryTemperature::CopyFrom(const VehiclePowertrainTractionBatteryTemperature& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryTemperature) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryTemperature::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryTemperature::InternalSwap(VehiclePowertrainTractionBatteryTemperature* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(average_, other->average_); + swap(min_, other->min_); + swap(max_, other->max_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryTemperature::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryStateOfCharge::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryStateOfCharge::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryStateOfCharge::VehiclePowertrainTractionBatteryStateOfCharge() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) +} +VehiclePowertrainTractionBatteryStateOfCharge::VehiclePowertrainTractionBatteryStateOfCharge(const VehiclePowertrainTractionBatteryStateOfCharge& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(¤t_, &from.current_, + static_cast<size_t>(reinterpret_cast<char*>(&displayed_) - + reinterpret_cast<char*>(¤t_)) + sizeof(displayed_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) +} + +void VehiclePowertrainTractionBatteryStateOfCharge::SharedCtor() { + ::memset(¤t_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&displayed_) - + reinterpret_cast<char*>(¤t_)) + sizeof(displayed_)); +} + +VehiclePowertrainTractionBatteryStateOfCharge::~VehiclePowertrainTractionBatteryStateOfCharge() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryStateOfCharge::SharedDtor() { +} + +void VehiclePowertrainTractionBatteryStateOfCharge::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryStateOfCharge& VehiclePowertrainTractionBatteryStateOfCharge::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryStateOfCharge_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryStateOfCharge::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(¤t_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&displayed_) - + reinterpret_cast<char*>(¤t_)) + sizeof(displayed_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryStateOfCharge::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Current = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Displayed = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + displayed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryStateOfCharge::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Current = 1; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_current(), target); + } + + // float Displayed = 2; + if (!(this->displayed() <= 0 && this->displayed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_displayed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + return target; +} + +size_t VehiclePowertrainTractionBatteryStateOfCharge::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Current = 1; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + // float Displayed = 2; + if (!(this->displayed() <= 0 && this->displayed() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryStateOfCharge::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryStateOfCharge* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryStateOfCharge>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryStateOfCharge::MergeFrom(const VehiclePowertrainTractionBatteryStateOfCharge& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } + if (!(from.displayed() <= 0 && from.displayed() >= 0)) { + _internal_set_displayed(from._internal_displayed()); + } +} + +void VehiclePowertrainTractionBatteryStateOfCharge::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryStateOfCharge::CopyFrom(const VehiclePowertrainTractionBatteryStateOfCharge& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryStateOfCharge) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryStateOfCharge::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryStateOfCharge::InternalSwap(VehiclePowertrainTractionBatteryStateOfCharge* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(current_, other->current_); + swap(displayed_, other->displayed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryStateOfCharge::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryCharging::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehiclePowertrainTractionBatteryCharging_default_instance_._instance.get_mutable()->maximumchargingcurrent_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainTractionBatteryCharging_default_instance_._instance.get_mutable()->chargecurrent_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainTractionBatteryCharging_default_instance_._instance.get_mutable()->chargevoltage_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage::internal_default_instance()); + ::com::vehicle::messages::_VehiclePowertrainTractionBatteryCharging_default_instance_._instance.get_mutable()->timer_ = const_cast< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer*>( + ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer::internal_default_instance()); +} +class VehiclePowertrainTractionBatteryCharging::_Internal { + public: + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& maximumchargingcurrent(const VehiclePowertrainTractionBatteryCharging* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent& chargecurrent(const VehiclePowertrainTractionBatteryCharging* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage& chargevoltage(const VehiclePowertrainTractionBatteryCharging* msg); + static const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer& timer(const VehiclePowertrainTractionBatteryCharging* msg); +}; + +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& +VehiclePowertrainTractionBatteryCharging::_Internal::maximumchargingcurrent(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->maximumchargingcurrent_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent& +VehiclePowertrainTractionBatteryCharging::_Internal::chargecurrent(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->chargecurrent_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage& +VehiclePowertrainTractionBatteryCharging::_Internal::chargevoltage(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->chargevoltage_; +} +const ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer& +VehiclePowertrainTractionBatteryCharging::_Internal::timer(const VehiclePowertrainTractionBatteryCharging* msg) { + return *msg->timer_; +} +VehiclePowertrainTractionBatteryCharging::VehiclePowertrainTractionBatteryCharging() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) +} +VehiclePowertrainTractionBatteryCharging::VehiclePowertrainTractionBatteryCharging(const VehiclePowertrainTractionBatteryCharging& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + chargeplugtype_(from.chargeplugtype_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + chargeportflap_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_chargeportflap().empty()) { + chargeportflap_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.chargeportflap_); + } + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mode().empty()) { + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + startstopcharging_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_startstopcharging().empty()) { + startstopcharging_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.startstopcharging_); + } + if (from._internal_has_maximumchargingcurrent()) { + maximumchargingcurrent_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent(*from.maximumchargingcurrent_); + } else { + maximumchargingcurrent_ = nullptr; + } + if (from._internal_has_chargecurrent()) { + chargecurrent_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent(*from.chargecurrent_); + } else { + chargecurrent_ = nullptr; + } + if (from._internal_has_chargevoltage()) { + chargevoltage_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage(*from.chargevoltage_); + } else { + chargevoltage_ = nullptr; + } + if (from._internal_has_timer()) { + timer_ = new ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer(*from.timer_); + } else { + timer_ = nullptr; + } + ::memcpy(&chargelimit_, &from.chargelimit_, + static_cast<size_t>(reinterpret_cast<char*>(&timetocomplete_) - + reinterpret_cast<char*>(&chargelimit_)) + sizeof(timetocomplete_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) +} + +void VehiclePowertrainTractionBatteryCharging::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto.base); + chargeportflap_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + startstopcharging_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&maximumchargingcurrent_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&timetocomplete_) - + reinterpret_cast<char*>(&maximumchargingcurrent_)) + sizeof(timetocomplete_)); +} + +VehiclePowertrainTractionBatteryCharging::~VehiclePowertrainTractionBatteryCharging() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryCharging::SharedDtor() { + chargeportflap_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + startstopcharging_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete maximumchargingcurrent_; + if (this != internal_default_instance()) delete chargecurrent_; + if (this != internal_default_instance()) delete chargevoltage_; + if (this != internal_default_instance()) delete timer_; +} + +void VehiclePowertrainTractionBatteryCharging::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryCharging& VehiclePowertrainTractionBatteryCharging::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryCharging_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryCharging::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + chargeplugtype_.Clear(); + chargeportflap_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + startstopcharging_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && maximumchargingcurrent_ != nullptr) { + delete maximumchargingcurrent_; + } + maximumchargingcurrent_ = nullptr; + if (GetArenaNoVirtual() == nullptr && chargecurrent_ != nullptr) { + delete chargecurrent_; + } + chargecurrent_ = nullptr; + if (GetArenaNoVirtual() == nullptr && chargevoltage_ != nullptr) { + delete chargevoltage_; + } + chargevoltage_ = nullptr; + if (GetArenaNoVirtual() == nullptr && timer_ != nullptr) { + delete timer_; + } + timer_ = nullptr; + ::memset(&chargelimit_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&timetocomplete_) - + reinterpret_cast<char*>(&chargelimit_)) + sizeof(timetocomplete_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryCharging::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 ChargeLimit = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + chargelimit_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent MaximumChargingCurrent = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_maximumchargingcurrent(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string ChargePortFlap = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_chargeportflap(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.ChargePortFlap"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChargingCableConnected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + ischargingcableconnected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChargingCableLocked = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + ischargingcablelocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // repeated string ChargePlugType = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr -= 1; + do { + ptr += 1; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_add_chargeplugtype(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.ChargePlugType"); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<50>(ptr)); + } else goto handle_unusual; + continue; + // string Mode = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mode(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.Mode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCharging = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + ischarging_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDischarging = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + isdischarging_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string StartStopCharging = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_startstopcharging(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.StartStopCharging"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent ChargeCurrent = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_chargecurrent(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage ChargeVoltage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_chargevoltage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float PowerLoss = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) { + powerloss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Temperature = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 117)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ChargeRate = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 125)) { + chargerate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 TimeToComplete = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 128)) { + timetocomplete_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer Timer = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 138)) { + ptr = ctx->ParseMessage(_internal_mutable_timer(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryCharging::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 ChargeLimit = 1; + if (this->chargelimit() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_chargelimit(), target); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent MaximumChargingCurrent = 2; + if (this->has_maximumchargingcurrent()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::maximumchargingcurrent(this), target, stream); + } + + // string ChargePortFlap = 3; + if (this->chargeportflap().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_chargeportflap().data(), static_cast<int>(this->_internal_chargeportflap().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.ChargePortFlap"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_chargeportflap(), target); + } + + // bool IsChargingCableConnected = 4; + if (this->ischargingcableconnected() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_ischargingcableconnected(), target); + } + + // bool IsChargingCableLocked = 5; + if (this->ischargingcablelocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_ischargingcablelocked(), target); + } + + // repeated string ChargePlugType = 6; + for (int i = 0, n = this->_internal_chargeplugtype_size(); i < n; i++) { + const auto& s = this->_internal_chargeplugtype(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast<int>(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.ChargePlugType"); + target = stream->WriteString(6, s, target); + } + + // string Mode = 7; + if (this->mode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.Mode"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_mode(), target); + } + + // bool IsCharging = 8; + if (this->ischarging() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_ischarging(), target); + } + + // bool IsDischarging = 9; + if (this->isdischarging() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_isdischarging(), target); + } + + // string StartStopCharging = 10; + if (this->startstopcharging().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_startstopcharging().data(), static_cast<int>(this->_internal_startstopcharging().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBatteryCharging.StartStopCharging"); + target = stream->WriteStringMaybeAliased( + 10, this->_internal_startstopcharging(), target); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent ChargeCurrent = 11; + if (this->has_chargecurrent()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::chargecurrent(this), target, stream); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage ChargeVoltage = 12; + if (this->has_chargevoltage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::chargevoltage(this), target, stream); + } + + // float PowerLoss = 13; + if (!(this->powerloss() <= 0 && this->powerloss() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(13, this->_internal_powerloss(), target); + } + + // float Temperature = 14; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(14, this->_internal_temperature(), target); + } + + // float ChargeRate = 15; + if (!(this->chargerate() <= 0 && this->chargerate() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(15, this->_internal_chargerate(), target); + } + + // uint32 TimeToComplete = 16; + if (this->timetocomplete() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(16, this->_internal_timetocomplete(), target); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer Timer = 17; + if (this->has_timer()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 17, _Internal::timer(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + return target; +} + +size_t VehiclePowertrainTractionBatteryCharging::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string ChargePlugType = 6; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(chargeplugtype_.size()); + for (int i = 0, n = chargeplugtype_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + chargeplugtype_.Get(i)); + } + + // string ChargePortFlap = 3; + if (this->chargeportflap().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_chargeportflap()); + } + + // string Mode = 7; + if (this->mode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // string StartStopCharging = 10; + if (this->startstopcharging().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_startstopcharging()); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent MaximumChargingCurrent = 2; + if (this->has_maximumchargingcurrent()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *maximumchargingcurrent_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent ChargeCurrent = 11; + if (this->has_chargecurrent()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *chargecurrent_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage ChargeVoltage = 12; + if (this->has_chargevoltage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *chargevoltage_); + } + + // .com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer Timer = 17; + if (this->has_timer()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *timer_); + } + + // uint32 ChargeLimit = 1; + if (this->chargelimit() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_chargelimit()); + } + + // bool IsChargingCableConnected = 4; + if (this->ischargingcableconnected() != 0) { + total_size += 1 + 1; + } + + // bool IsChargingCableLocked = 5; + if (this->ischargingcablelocked() != 0) { + total_size += 1 + 1; + } + + // bool IsCharging = 8; + if (this->ischarging() != 0) { + total_size += 1 + 1; + } + + // bool IsDischarging = 9; + if (this->isdischarging() != 0) { + total_size += 1 + 1; + } + + // float PowerLoss = 13; + if (!(this->powerloss() <= 0 && this->powerloss() >= 0)) { + total_size += 1 + 4; + } + + // float Temperature = 14; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + total_size += 1 + 4; + } + + // float ChargeRate = 15; + if (!(this->chargerate() <= 0 && this->chargerate() >= 0)) { + total_size += 1 + 4; + } + + // uint32 TimeToComplete = 16; + if (this->timetocomplete() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_timetocomplete()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryCharging::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryCharging* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryCharging>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryCharging::MergeFrom(const VehiclePowertrainTractionBatteryCharging& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + chargeplugtype_.MergeFrom(from.chargeplugtype_); + if (from.chargeportflap().size() > 0) { + + chargeportflap_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.chargeportflap_); + } + if (from.mode().size() > 0) { + + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from.startstopcharging().size() > 0) { + + startstopcharging_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.startstopcharging_); + } + if (from.has_maximumchargingcurrent()) { + _internal_mutable_maximumchargingcurrent()->::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::MergeFrom(from._internal_maximumchargingcurrent()); + } + if (from.has_chargecurrent()) { + _internal_mutable_chargecurrent()->::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent::MergeFrom(from._internal_chargecurrent()); + } + if (from.has_chargevoltage()) { + _internal_mutable_chargevoltage()->::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage::MergeFrom(from._internal_chargevoltage()); + } + if (from.has_timer()) { + _internal_mutable_timer()->::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer::MergeFrom(from._internal_timer()); + } + if (from.chargelimit() != 0) { + _internal_set_chargelimit(from._internal_chargelimit()); + } + if (from.ischargingcableconnected() != 0) { + _internal_set_ischargingcableconnected(from._internal_ischargingcableconnected()); + } + if (from.ischargingcablelocked() != 0) { + _internal_set_ischargingcablelocked(from._internal_ischargingcablelocked()); + } + if (from.ischarging() != 0) { + _internal_set_ischarging(from._internal_ischarging()); + } + if (from.isdischarging() != 0) { + _internal_set_isdischarging(from._internal_isdischarging()); + } + if (!(from.powerloss() <= 0 && from.powerloss() >= 0)) { + _internal_set_powerloss(from._internal_powerloss()); + } + if (!(from.temperature() <= 0 && from.temperature() >= 0)) { + _internal_set_temperature(from._internal_temperature()); + } + if (!(from.chargerate() <= 0 && from.chargerate() >= 0)) { + _internal_set_chargerate(from._internal_chargerate()); + } + if (from.timetocomplete() != 0) { + _internal_set_timetocomplete(from._internal_timetocomplete()); + } +} + +void VehiclePowertrainTractionBatteryCharging::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryCharging::CopyFrom(const VehiclePowertrainTractionBatteryCharging& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryCharging) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryCharging::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryCharging::InternalSwap(VehiclePowertrainTractionBatteryCharging* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + chargeplugtype_.InternalSwap(&other->chargeplugtype_); + chargeportflap_.Swap(&other->chargeportflap_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + startstopcharging_.Swap(&other->startstopcharging_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(maximumchargingcurrent_, other->maximumchargingcurrent_); + swap(chargecurrent_, other->chargecurrent_); + swap(chargevoltage_, other->chargevoltage_); + swap(timer_, other->timer_); + swap(chargelimit_, other->chargelimit_); + swap(ischargingcableconnected_, other->ischargingcableconnected_); + swap(ischargingcablelocked_, other->ischargingcablelocked_); + swap(ischarging_, other->ischarging_); + swap(isdischarging_, other->isdischarging_); + swap(powerloss_, other->powerloss_); + swap(temperature_, other->temperature_); + swap(chargerate_, other->chargerate_); + swap(timetocomplete_, other->timetocomplete_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryCharging::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) +} +VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent(const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&dc_, &from.dc_, + static_cast<size_t>(reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::SharedCtor() { + ::memset(&dc_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); +} + +VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::~VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::SharedDtor() { +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&dc_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float DC = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + dc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + phase1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + phase2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + phase3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float DC = 1; + if (!(this->dc() <= 0 && this->dc() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_dc(), target); + } + + // float Phase1 = 2; + if (!(this->phase1() <= 0 && this->phase1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_phase1(), target); + } + + // float Phase2 = 3; + if (!(this->phase2() <= 0 && this->phase2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_phase2(), target); + } + + // float Phase3 = 4; + if (!(this->phase3() <= 0 && this->phase3() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_phase3(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + return target; +} + +size_t VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float DC = 1; + if (!(this->dc() <= 0 && this->dc() >= 0)) { + total_size += 1 + 4; + } + + // float Phase1 = 2; + if (!(this->phase1() <= 0 && this->phase1() >= 0)) { + total_size += 1 + 4; + } + + // float Phase2 = 3; + if (!(this->phase2() <= 0 && this->phase2() >= 0)) { + total_size += 1 + 4; + } + + // float Phase3 = 4; + if (!(this->phase3() <= 0 && this->phase3() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::MergeFrom(const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.dc() <= 0 && from.dc() >= 0)) { + _internal_set_dc(from._internal_dc()); + } + if (!(from.phase1() <= 0 && from.phase1() >= 0)) { + _internal_set_phase1(from._internal_phase1()); + } + if (!(from.phase2() <= 0 && from.phase2() >= 0)) { + _internal_set_phase2(from._internal_phase2()); + } + if (!(from.phase3() <= 0 && from.phase3() >= 0)) { + _internal_set_phase3(from._internal_phase3()); + } +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::CopyFrom(const VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::InternalSwap(VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(dc_, other->dc_); + swap(phase1_, other->phase1_); + swap(phase2_, other->phase2_); + swap(phase3_, other->phase3_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryChargingChargeCurrent::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingChargeCurrent::VehiclePowertrainTractionBatteryChargingChargeCurrent() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) +} +VehiclePowertrainTractionBatteryChargingChargeCurrent::VehiclePowertrainTractionBatteryChargingChargeCurrent(const VehiclePowertrainTractionBatteryChargingChargeCurrent& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&dc_, &from.dc_, + static_cast<size_t>(reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::SharedCtor() { + ::memset(&dc_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); +} + +VehiclePowertrainTractionBatteryChargingChargeCurrent::~VehiclePowertrainTractionBatteryChargingChargeCurrent() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::SharedDtor() { +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryChargingChargeCurrent& VehiclePowertrainTractionBatteryChargingChargeCurrent::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryChargingChargeCurrent_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&dc_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryChargingChargeCurrent::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float DC = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + dc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + phase1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + phase2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + phase3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryChargingChargeCurrent::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float DC = 1; + if (!(this->dc() <= 0 && this->dc() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_dc(), target); + } + + // float Phase1 = 2; + if (!(this->phase1() <= 0 && this->phase1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_phase1(), target); + } + + // float Phase2 = 3; + if (!(this->phase2() <= 0 && this->phase2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_phase2(), target); + } + + // float Phase3 = 4; + if (!(this->phase3() <= 0 && this->phase3() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_phase3(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + return target; +} + +size_t VehiclePowertrainTractionBatteryChargingChargeCurrent::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float DC = 1; + if (!(this->dc() <= 0 && this->dc() >= 0)) { + total_size += 1 + 4; + } + + // float Phase1 = 2; + if (!(this->phase1() <= 0 && this->phase1() >= 0)) { + total_size += 1 + 4; + } + + // float Phase2 = 3; + if (!(this->phase2() <= 0 && this->phase2() >= 0)) { + total_size += 1 + 4; + } + + // float Phase3 = 4; + if (!(this->phase3() <= 0 && this->phase3() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryChargingChargeCurrent* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryChargingChargeCurrent>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::MergeFrom(const VehiclePowertrainTractionBatteryChargingChargeCurrent& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.dc() <= 0 && from.dc() >= 0)) { + _internal_set_dc(from._internal_dc()); + } + if (!(from.phase1() <= 0 && from.phase1() >= 0)) { + _internal_set_phase1(from._internal_phase1()); + } + if (!(from.phase2() <= 0 && from.phase2() >= 0)) { + _internal_set_phase2(from._internal_phase2()); + } + if (!(from.phase3() <= 0 && from.phase3() >= 0)) { + _internal_set_phase3(from._internal_phase3()); + } +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::CopyFrom(const VehiclePowertrainTractionBatteryChargingChargeCurrent& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeCurrent) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingChargeCurrent::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingChargeCurrent::InternalSwap(VehiclePowertrainTractionBatteryChargingChargeCurrent* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(dc_, other->dc_); + swap(phase1_, other->phase1_); + swap(phase2_, other->phase2_); + swap(phase3_, other->phase3_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingChargeCurrent::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryChargingChargeVoltage::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingChargeVoltage::VehiclePowertrainTractionBatteryChargingChargeVoltage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) +} +VehiclePowertrainTractionBatteryChargingChargeVoltage::VehiclePowertrainTractionBatteryChargingChargeVoltage(const VehiclePowertrainTractionBatteryChargingChargeVoltage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&dc_, &from.dc_, + static_cast<size_t>(reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::SharedCtor() { + ::memset(&dc_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); +} + +VehiclePowertrainTractionBatteryChargingChargeVoltage::~VehiclePowertrainTractionBatteryChargingChargeVoltage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::SharedDtor() { +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryChargingChargeVoltage& VehiclePowertrainTractionBatteryChargingChargeVoltage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryChargingChargeVoltage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&dc_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&phase3_) - + reinterpret_cast<char*>(&dc_)) + sizeof(phase3_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryChargingChargeVoltage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float DC = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + dc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase1 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + phase1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase2 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + phase2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Phase3 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + phase3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryChargingChargeVoltage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float DC = 1; + if (!(this->dc() <= 0 && this->dc() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_dc(), target); + } + + // float Phase1 = 2; + if (!(this->phase1() <= 0 && this->phase1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_phase1(), target); + } + + // float Phase2 = 3; + if (!(this->phase2() <= 0 && this->phase2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_phase2(), target); + } + + // float Phase3 = 4; + if (!(this->phase3() <= 0 && this->phase3() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_phase3(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + return target; +} + +size_t VehiclePowertrainTractionBatteryChargingChargeVoltage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float DC = 1; + if (!(this->dc() <= 0 && this->dc() >= 0)) { + total_size += 1 + 4; + } + + // float Phase1 = 2; + if (!(this->phase1() <= 0 && this->phase1() >= 0)) { + total_size += 1 + 4; + } + + // float Phase2 = 3; + if (!(this->phase2() <= 0 && this->phase2() >= 0)) { + total_size += 1 + 4; + } + + // float Phase3 = 4; + if (!(this->phase3() <= 0 && this->phase3() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryChargingChargeVoltage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryChargingChargeVoltage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::MergeFrom(const VehiclePowertrainTractionBatteryChargingChargeVoltage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.dc() <= 0 && from.dc() >= 0)) { + _internal_set_dc(from._internal_dc()); + } + if (!(from.phase1() <= 0 && from.phase1() >= 0)) { + _internal_set_phase1(from._internal_phase1()); + } + if (!(from.phase2() <= 0 && from.phase2() >= 0)) { + _internal_set_phase2(from._internal_phase2()); + } + if (!(from.phase3() <= 0 && from.phase3() >= 0)) { + _internal_set_phase3(from._internal_phase3()); + } +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::CopyFrom(const VehiclePowertrainTractionBatteryChargingChargeVoltage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingChargeVoltage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingChargeVoltage::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingChargeVoltage::InternalSwap(VehiclePowertrainTractionBatteryChargingChargeVoltage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(dc_, other->dc_); + swap(phase1_, other->phase1_); + swap(phase2_, other->phase2_); + swap(phase3_, other->phase3_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingChargeVoltage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryChargingTimer::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryChargingTimer::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryChargingTimer::VehiclePowertrainTractionBatteryChargingTimer() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) +} +VehiclePowertrainTractionBatteryChargingTimer::VehiclePowertrainTractionBatteryChargingTimer(const VehiclePowertrainTractionBatteryChargingTimer& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mode().empty()) { + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + time_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_time().empty()) { + time_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.time_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) +} + +void VehiclePowertrainTractionBatteryChargingTimer::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto.base); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + time_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehiclePowertrainTractionBatteryChargingTimer::~VehiclePowertrainTractionBatteryChargingTimer() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryChargingTimer::SharedDtor() { + mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + time_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehiclePowertrainTractionBatteryChargingTimer::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryChargingTimer& VehiclePowertrainTractionBatteryChargingTimer::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryChargingTimer_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryChargingTimer::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + time_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryChargingTimer::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mode(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer.Mode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Time = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_time(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer.Time"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryChargingTimer::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer.Mode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_mode(), target); + } + + // string Time = 2; + if (this->time().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_time().data(), static_cast<int>(this->_internal_time().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer.Time"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_time(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + return target; +} + +size_t VehiclePowertrainTractionBatteryChargingTimer::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // string Time = 2; + if (this->time().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_time()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryChargingTimer::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryChargingTimer* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryChargingTimer>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryChargingTimer::MergeFrom(const VehiclePowertrainTractionBatteryChargingTimer& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.mode().size() > 0) { + + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from.time().size() > 0) { + + time_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.time_); + } +} + +void VehiclePowertrainTractionBatteryChargingTimer::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryChargingTimer::CopyFrom(const VehiclePowertrainTractionBatteryChargingTimer& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryChargingTimer) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryChargingTimer::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryChargingTimer::InternalSwap(VehiclePowertrainTractionBatteryChargingTimer* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + time_.Swap(&other->time_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryChargingTimer::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainTractionBatteryDCDC::InitAsDefaultInstance() { +} +class VehiclePowertrainTractionBatteryDCDC::_Internal { + public: +}; + +VehiclePowertrainTractionBatteryDCDC::VehiclePowertrainTractionBatteryDCDC() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) +} +VehiclePowertrainTractionBatteryDCDC::VehiclePowertrainTractionBatteryDCDC(const VehiclePowertrainTractionBatteryDCDC& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&powerloss_, &from.powerloss_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&powerloss_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) +} + +void VehiclePowertrainTractionBatteryDCDC::SharedCtor() { + ::memset(&powerloss_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&powerloss_)) + sizeof(temperature_)); +} + +VehiclePowertrainTractionBatteryDCDC::~VehiclePowertrainTractionBatteryDCDC() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + SharedDtor(); +} + +void VehiclePowertrainTractionBatteryDCDC::SharedDtor() { +} + +void VehiclePowertrainTractionBatteryDCDC::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainTractionBatteryDCDC& VehiclePowertrainTractionBatteryDCDC::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainTractionBatteryDCDC_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainTractionBatteryDCDC::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&powerloss_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&powerloss_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainTractionBatteryDCDC::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float PowerLoss = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + powerloss_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainTractionBatteryDCDC::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float PowerLoss = 1; + if (!(this->powerloss() <= 0 && this->powerloss() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_powerloss(), target); + } + + // float Temperature = 2; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + return target; +} + +size_t VehiclePowertrainTractionBatteryDCDC::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float PowerLoss = 1; + if (!(this->powerloss() <= 0 && this->powerloss() >= 0)) { + total_size += 1 + 4; + } + + // float Temperature = 2; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainTractionBatteryDCDC::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainTractionBatteryDCDC* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainTractionBatteryDCDC>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + MergeFrom(*source); + } +} + +void VehiclePowertrainTractionBatteryDCDC::MergeFrom(const VehiclePowertrainTractionBatteryDCDC& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.powerloss() <= 0 && from.powerloss() >= 0)) { + _internal_set_powerloss(from._internal_powerloss()); + } + if (!(from.temperature() <= 0 && from.temperature() >= 0)) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehiclePowertrainTractionBatteryDCDC::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainTractionBatteryDCDC::CopyFrom(const VehiclePowertrainTractionBatteryDCDC& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainTractionBatteryDCDC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainTractionBatteryDCDC::IsInitialized() const { + return true; +} + +void VehiclePowertrainTractionBatteryDCDC::InternalSwap(VehiclePowertrainTractionBatteryDCDC* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(powerloss_, other->powerloss_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainTractionBatteryDCDC::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehiclePowertrainFuelSystem::InitAsDefaultInstance() { +} +class VehiclePowertrainFuelSystem::_Internal { + public: +}; + +VehiclePowertrainFuelSystem::VehiclePowertrainFuelSystem() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehiclePowertrainFuelSystem) +} +VehiclePowertrainFuelSystem::VehiclePowertrainFuelSystem(const VehiclePowertrainFuelSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + supportedfueltypes_(from.supportedfueltypes_), + supportedfuel_(from.supportedfuel_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + hybridtype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_hybridtype().empty()) { + hybridtype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.hybridtype_); + } + ::memcpy(&tankcapacity_, &from.tankcapacity_, + static_cast<size_t>(reinterpret_cast<char*>(&isfuellevellow_) - + reinterpret_cast<char*>(&tankcapacity_)) + sizeof(isfuellevellow_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehiclePowertrainFuelSystem) +} + +void VehiclePowertrainFuelSystem::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto.base); + hybridtype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&tankcapacity_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isfuellevellow_) - + reinterpret_cast<char*>(&tankcapacity_)) + sizeof(isfuellevellow_)); +} + +VehiclePowertrainFuelSystem::~VehiclePowertrainFuelSystem() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehiclePowertrainFuelSystem) + SharedDtor(); +} + +void VehiclePowertrainFuelSystem::SharedDtor() { + hybridtype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehiclePowertrainFuelSystem::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehiclePowertrainFuelSystem& VehiclePowertrainFuelSystem::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehiclePowertrainFuelSystem_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehiclePowertrainFuelSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + supportedfueltypes_.Clear(); + supportedfuel_.Clear(); + hybridtype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&tankcapacity_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isfuellevellow_) - + reinterpret_cast<char*>(&tankcapacity_)) + sizeof(isfuellevellow_)); + _internal_metadata_.Clear(); +} + +const char* VehiclePowertrainFuelSystem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // repeated string SupportedFuelTypes = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr -= 1; + do { + ptr += 1; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_add_supportedfueltypes(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainFuelSystem.SupportedFuelTypes"); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr)); + } else goto handle_unusual; + continue; + // repeated string SupportedFuel = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr -= 1; + do { + ptr += 1; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_add_supportedfuel(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainFuelSystem.SupportedFuel"); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<18>(ptr)); + } else goto handle_unusual; + continue; + // string HybridType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_hybridtype(), ptr, ctx, "com.vehicle.messages.VehiclePowertrainFuelSystem.HybridType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float TankCapacity = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + tankcapacity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Level = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Range = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + range_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float InstantConsumption = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 61)) { + instantconsumption_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AverageConsumption = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + averageconsumption_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ConsumptionSinceStart = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 77)) { + consumptionsincestart_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 TimeSinceStart = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + timesincestart_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEngineStopStartEnabled = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + isenginestopstartenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsFuelLevelLow = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96)) { + isfuellevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehiclePowertrainFuelSystem::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated string SupportedFuelTypes = 1; + for (int i = 0, n = this->_internal_supportedfueltypes_size(); i < n; i++) { + const auto& s = this->_internal_supportedfueltypes(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast<int>(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainFuelSystem.SupportedFuelTypes"); + target = stream->WriteString(1, s, target); + } + + // repeated string SupportedFuel = 2; + for (int i = 0, n = this->_internal_supportedfuel_size(); i < n; i++) { + const auto& s = this->_internal_supportedfuel(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast<int>(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainFuelSystem.SupportedFuel"); + target = stream->WriteString(2, s, target); + } + + // string HybridType = 3; + if (this->hybridtype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_hybridtype().data(), static_cast<int>(this->_internal_hybridtype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehiclePowertrainFuelSystem.HybridType"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_hybridtype(), target); + } + + // float TankCapacity = 4; + if (!(this->tankcapacity() <= 0 && this->tankcapacity() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_tankcapacity(), target); + } + + // uint32 Level = 5; + if (this->level() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_level(), target); + } + + // uint32 Range = 6; + if (this->range() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_range(), target); + } + + // float InstantConsumption = 7; + if (!(this->instantconsumption() <= 0 && this->instantconsumption() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(7, this->_internal_instantconsumption(), target); + } + + // float AverageConsumption = 8; + if (!(this->averageconsumption() <= 0 && this->averageconsumption() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_averageconsumption(), target); + } + + // float ConsumptionSinceStart = 9; + if (!(this->consumptionsincestart() <= 0 && this->consumptionsincestart() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(9, this->_internal_consumptionsincestart(), target); + } + + // uint32 TimeSinceStart = 10; + if (this->timesincestart() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_timesincestart(), target); + } + + // bool IsEngineStopStartEnabled = 11; + if (this->isenginestopstartenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_isenginestopstartenabled(), target); + } + + // bool IsFuelLevelLow = 12; + if (this->isfuellevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(12, this->_internal_isfuellevellow(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehiclePowertrainFuelSystem) + return target; +} + +size_t VehiclePowertrainFuelSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string SupportedFuelTypes = 1; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(supportedfueltypes_.size()); + for (int i = 0, n = supportedfueltypes_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + supportedfueltypes_.Get(i)); + } + + // repeated string SupportedFuel = 2; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(supportedfuel_.size()); + for (int i = 0, n = supportedfuel_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + supportedfuel_.Get(i)); + } + + // string HybridType = 3; + if (this->hybridtype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_hybridtype()); + } + + // float TankCapacity = 4; + if (!(this->tankcapacity() <= 0 && this->tankcapacity() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Level = 5; + if (this->level() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_level()); + } + + // uint32 Range = 6; + if (this->range() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_range()); + } + + // float InstantConsumption = 7; + if (!(this->instantconsumption() <= 0 && this->instantconsumption() >= 0)) { + total_size += 1 + 4; + } + + // float AverageConsumption = 8; + if (!(this->averageconsumption() <= 0 && this->averageconsumption() >= 0)) { + total_size += 1 + 4; + } + + // float ConsumptionSinceStart = 9; + if (!(this->consumptionsincestart() <= 0 && this->consumptionsincestart() >= 0)) { + total_size += 1 + 4; + } + + // uint32 TimeSinceStart = 10; + if (this->timesincestart() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_timesincestart()); + } + + // bool IsEngineStopStartEnabled = 11; + if (this->isenginestopstartenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsFuelLevelLow = 12; + if (this->isfuellevellow() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehiclePowertrainFuelSystem::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + GOOGLE_DCHECK_NE(&from, this); + const VehiclePowertrainFuelSystem* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehiclePowertrainFuelSystem>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehiclePowertrainFuelSystem) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehiclePowertrainFuelSystem) + MergeFrom(*source); + } +} + +void VehiclePowertrainFuelSystem::MergeFrom(const VehiclePowertrainFuelSystem& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + supportedfueltypes_.MergeFrom(from.supportedfueltypes_); + supportedfuel_.MergeFrom(from.supportedfuel_); + if (from.hybridtype().size() > 0) { + + hybridtype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.hybridtype_); + } + if (!(from.tankcapacity() <= 0 && from.tankcapacity() >= 0)) { + _internal_set_tankcapacity(from._internal_tankcapacity()); + } + if (from.level() != 0) { + _internal_set_level(from._internal_level()); + } + if (from.range() != 0) { + _internal_set_range(from._internal_range()); + } + if (!(from.instantconsumption() <= 0 && from.instantconsumption() >= 0)) { + _internal_set_instantconsumption(from._internal_instantconsumption()); + } + if (!(from.averageconsumption() <= 0 && from.averageconsumption() >= 0)) { + _internal_set_averageconsumption(from._internal_averageconsumption()); + } + if (!(from.consumptionsincestart() <= 0 && from.consumptionsincestart() >= 0)) { + _internal_set_consumptionsincestart(from._internal_consumptionsincestart()); + } + if (from.timesincestart() != 0) { + _internal_set_timesincestart(from._internal_timesincestart()); + } + if (from.isenginestopstartenabled() != 0) { + _internal_set_isenginestopstartenabled(from._internal_isenginestopstartenabled()); + } + if (from.isfuellevellow() != 0) { + _internal_set_isfuellevellow(from._internal_isfuellevellow()); + } +} + +void VehiclePowertrainFuelSystem::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehiclePowertrainFuelSystem::CopyFrom(const VehiclePowertrainFuelSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehiclePowertrainFuelSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehiclePowertrainFuelSystem::IsInitialized() const { + return true; +} + +void VehiclePowertrainFuelSystem::InternalSwap(VehiclePowertrainFuelSystem* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + supportedfueltypes_.InternalSwap(&other->supportedfueltypes_); + supportedfuel_.InternalSwap(&other->supportedfuel_); + hybridtype_.Swap(&other->hybridtype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(tankcapacity_, other->tankcapacity_); + swap(level_, other->level_); + swap(range_, other->range_); + swap(instantconsumption_, other->instantconsumption_); + swap(averageconsumption_, other->averageconsumption_); + swap(consumptionsincestart_, other->consumptionsincestart_); + swap(timesincestart_, other->timesincestart_); + swap(isenginestopstartenabled_, other->isenginestopstartenabled_); + swap(isfuellevellow_, other->isfuellevellow_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehiclePowertrainFuelSystem::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBody::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->hood_ = const_cast< ::com::vehicle::messages::VehicleBodyHood*>( + ::com::vehicle::messages::VehicleBodyHood::internal_default_instance()); + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->trunk_ = const_cast< ::com::vehicle::messages::VehicleBodyTrunk*>( + ::com::vehicle::messages::VehicleBodyTrunk::internal_default_instance()); + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->horn_ = const_cast< ::com::vehicle::messages::VehicleBodyHorn*>( + ::com::vehicle::messages::VehicleBodyHorn::internal_default_instance()); + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->raindetection_ = const_cast< ::com::vehicle::messages::VehicleBodyRaindetection*>( + ::com::vehicle::messages::VehicleBodyRaindetection::internal_default_instance()); + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->windshield_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshield*>( + ::com::vehicle::messages::VehicleBodyWindshield::internal_default_instance()); + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->lights_ = const_cast< ::com::vehicle::messages::VehicleBodyLights*>( + ::com::vehicle::messages::VehicleBodyLights::internal_default_instance()); + ::com::vehicle::messages::_VehicleBody_default_instance_._instance.get_mutable()->mirrors_ = const_cast< ::com::vehicle::messages::VehicleBodyMirrors*>( + ::com::vehicle::messages::VehicleBodyMirrors::internal_default_instance()); +} +class VehicleBody::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyHood& hood(const VehicleBody* msg); + static const ::com::vehicle::messages::VehicleBodyTrunk& trunk(const VehicleBody* msg); + static const ::com::vehicle::messages::VehicleBodyHorn& horn(const VehicleBody* msg); + static const ::com::vehicle::messages::VehicleBodyRaindetection& raindetection(const VehicleBody* msg); + static const ::com::vehicle::messages::VehicleBodyWindshield& windshield(const VehicleBody* msg); + static const ::com::vehicle::messages::VehicleBodyLights& lights(const VehicleBody* msg); + static const ::com::vehicle::messages::VehicleBodyMirrors& mirrors(const VehicleBody* msg); +}; + +const ::com::vehicle::messages::VehicleBodyHood& +VehicleBody::_Internal::hood(const VehicleBody* msg) { + return *msg->hood_; +} +const ::com::vehicle::messages::VehicleBodyTrunk& +VehicleBody::_Internal::trunk(const VehicleBody* msg) { + return *msg->trunk_; +} +const ::com::vehicle::messages::VehicleBodyHorn& +VehicleBody::_Internal::horn(const VehicleBody* msg) { + return *msg->horn_; +} +const ::com::vehicle::messages::VehicleBodyRaindetection& +VehicleBody::_Internal::raindetection(const VehicleBody* msg) { + return *msg->raindetection_; +} +const ::com::vehicle::messages::VehicleBodyWindshield& +VehicleBody::_Internal::windshield(const VehicleBody* msg) { + return *msg->windshield_; +} +const ::com::vehicle::messages::VehicleBodyLights& +VehicleBody::_Internal::lights(const VehicleBody* msg) { + return *msg->lights_; +} +const ::com::vehicle::messages::VehicleBodyMirrors& +VehicleBody::_Internal::mirrors(const VehicleBody* msg) { + return *msg->mirrors_; +} +VehicleBody::VehicleBody() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBody) +} +VehicleBody::VehicleBody(const VehicleBody& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + bodytype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_bodytype().empty()) { + bodytype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bodytype_); + } + refuelposition_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_refuelposition().empty()) { + refuelposition_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.refuelposition_); + } + if (from._internal_has_hood()) { + hood_ = new ::com::vehicle::messages::VehicleBodyHood(*from.hood_); + } else { + hood_ = nullptr; + } + if (from._internal_has_trunk()) { + trunk_ = new ::com::vehicle::messages::VehicleBodyTrunk(*from.trunk_); + } else { + trunk_ = nullptr; + } + if (from._internal_has_horn()) { + horn_ = new ::com::vehicle::messages::VehicleBodyHorn(*from.horn_); + } else { + horn_ = nullptr; + } + if (from._internal_has_raindetection()) { + raindetection_ = new ::com::vehicle::messages::VehicleBodyRaindetection(*from.raindetection_); + } else { + raindetection_ = nullptr; + } + if (from._internal_has_windshield()) { + windshield_ = new ::com::vehicle::messages::VehicleBodyWindshield(*from.windshield_); + } else { + windshield_ = nullptr; + } + if (from._internal_has_lights()) { + lights_ = new ::com::vehicle::messages::VehicleBodyLights(*from.lights_); + } else { + lights_ = nullptr; + } + if (from._internal_has_mirrors()) { + mirrors_ = new ::com::vehicle::messages::VehicleBodyMirrors(*from.mirrors_); + } else { + mirrors_ = nullptr; + } + rearmainspoilerposition_ = from.rearmainspoilerposition_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBody) +} + +void VehicleBody::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBody_V2C_2fvspec_2eproto.base); + bodytype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + refuelposition_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&hood_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&rearmainspoilerposition_) - + reinterpret_cast<char*>(&hood_)) + sizeof(rearmainspoilerposition_)); +} + +VehicleBody::~VehicleBody() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBody) + SharedDtor(); +} + +void VehicleBody::SharedDtor() { + bodytype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + refuelposition_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete hood_; + if (this != internal_default_instance()) delete trunk_; + if (this != internal_default_instance()) delete horn_; + if (this != internal_default_instance()) delete raindetection_; + if (this != internal_default_instance()) delete windshield_; + if (this != internal_default_instance()) delete lights_; + if (this != internal_default_instance()) delete mirrors_; +} + +void VehicleBody::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBody& VehicleBody::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBody_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBody::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBody) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + bodytype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + refuelposition_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && hood_ != nullptr) { + delete hood_; + } + hood_ = nullptr; + if (GetArenaNoVirtual() == nullptr && trunk_ != nullptr) { + delete trunk_; + } + trunk_ = nullptr; + if (GetArenaNoVirtual() == nullptr && horn_ != nullptr) { + delete horn_; + } + horn_ = nullptr; + if (GetArenaNoVirtual() == nullptr && raindetection_ != nullptr) { + delete raindetection_; + } + raindetection_ = nullptr; + if (GetArenaNoVirtual() == nullptr && windshield_ != nullptr) { + delete windshield_; + } + windshield_ = nullptr; + if (GetArenaNoVirtual() == nullptr && lights_ != nullptr) { + delete lights_; + } + lights_ = nullptr; + if (GetArenaNoVirtual() == nullptr && mirrors_ != nullptr) { + delete mirrors_; + } + mirrors_ = nullptr; + rearmainspoilerposition_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleBody::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string BodyType = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_bodytype(), ptr, ctx, "com.vehicle.messages.VehicleBody.BodyType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string RefuelPosition = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_refuelposition(), ptr, ctx, "com.vehicle.messages.VehicleBody.RefuelPosition"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyHood Hood = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_hood(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyTrunk Trunk = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_trunk(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyHorn Horn = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_horn(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyRaindetection Raindetection = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_raindetection(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyWindshield Windshield = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_windshield(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLights Lights = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_lights(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyMirrors Mirrors = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_mirrors(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float RearMainSpoilerPosition = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) { + rearmainspoilerposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBody::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBody) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string BodyType = 1; + if (this->bodytype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_bodytype().data(), static_cast<int>(this->_internal_bodytype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBody.BodyType"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_bodytype(), target); + } + + // string RefuelPosition = 2; + if (this->refuelposition().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_refuelposition().data(), static_cast<int>(this->_internal_refuelposition().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBody.RefuelPosition"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_refuelposition(), target); + } + + // .com.vehicle.messages.VehicleBodyHood Hood = 3; + if (this->has_hood()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::hood(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyTrunk Trunk = 4; + if (this->has_trunk()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::trunk(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyHorn Horn = 5; + if (this->has_horn()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::horn(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyRaindetection Raindetection = 6; + if (this->has_raindetection()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::raindetection(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyWindshield Windshield = 7; + if (this->has_windshield()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::windshield(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLights Lights = 8; + if (this->has_lights()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::lights(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyMirrors Mirrors = 9; + if (this->has_mirrors()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::mirrors(this), target, stream); + } + + // float RearMainSpoilerPosition = 10; + if (!(this->rearmainspoilerposition() <= 0 && this->rearmainspoilerposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_rearmainspoilerposition(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBody) + return target; +} + +size_t VehicleBody::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBody) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string BodyType = 1; + if (this->bodytype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_bodytype()); + } + + // string RefuelPosition = 2; + if (this->refuelposition().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_refuelposition()); + } + + // .com.vehicle.messages.VehicleBodyHood Hood = 3; + if (this->has_hood()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *hood_); + } + + // .com.vehicle.messages.VehicleBodyTrunk Trunk = 4; + if (this->has_trunk()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *trunk_); + } + + // .com.vehicle.messages.VehicleBodyHorn Horn = 5; + if (this->has_horn()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *horn_); + } + + // .com.vehicle.messages.VehicleBodyRaindetection Raindetection = 6; + if (this->has_raindetection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *raindetection_); + } + + // .com.vehicle.messages.VehicleBodyWindshield Windshield = 7; + if (this->has_windshield()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *windshield_); + } + + // .com.vehicle.messages.VehicleBodyLights Lights = 8; + if (this->has_lights()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lights_); + } + + // .com.vehicle.messages.VehicleBodyMirrors Mirrors = 9; + if (this->has_mirrors()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *mirrors_); + } + + // float RearMainSpoilerPosition = 10; + if (!(this->rearmainspoilerposition() <= 0 && this->rearmainspoilerposition() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBody::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBody) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBody* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBody>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBody) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBody) + MergeFrom(*source); + } +} + +void VehicleBody::MergeFrom(const VehicleBody& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBody) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.bodytype().size() > 0) { + + bodytype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.bodytype_); + } + if (from.refuelposition().size() > 0) { + + refuelposition_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.refuelposition_); + } + if (from.has_hood()) { + _internal_mutable_hood()->::com::vehicle::messages::VehicleBodyHood::MergeFrom(from._internal_hood()); + } + if (from.has_trunk()) { + _internal_mutable_trunk()->::com::vehicle::messages::VehicleBodyTrunk::MergeFrom(from._internal_trunk()); + } + if (from.has_horn()) { + _internal_mutable_horn()->::com::vehicle::messages::VehicleBodyHorn::MergeFrom(from._internal_horn()); + } + if (from.has_raindetection()) { + _internal_mutable_raindetection()->::com::vehicle::messages::VehicleBodyRaindetection::MergeFrom(from._internal_raindetection()); + } + if (from.has_windshield()) { + _internal_mutable_windshield()->::com::vehicle::messages::VehicleBodyWindshield::MergeFrom(from._internal_windshield()); + } + if (from.has_lights()) { + _internal_mutable_lights()->::com::vehicle::messages::VehicleBodyLights::MergeFrom(from._internal_lights()); + } + if (from.has_mirrors()) { + _internal_mutable_mirrors()->::com::vehicle::messages::VehicleBodyMirrors::MergeFrom(from._internal_mirrors()); + } + if (!(from.rearmainspoilerposition() <= 0 && from.rearmainspoilerposition() >= 0)) { + _internal_set_rearmainspoilerposition(from._internal_rearmainspoilerposition()); + } +} + +void VehicleBody::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBody) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBody::CopyFrom(const VehicleBody& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBody) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBody::IsInitialized() const { + return true; +} + +void VehicleBody::InternalSwap(VehicleBody* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + bodytype_.Swap(&other->bodytype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + refuelposition_.Swap(&other->refuelposition_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(hood_, other->hood_); + swap(trunk_, other->trunk_); + swap(horn_, other->horn_); + swap(raindetection_, other->raindetection_); + swap(windshield_, other->windshield_); + swap(lights_, other->lights_); + swap(mirrors_, other->mirrors_); + swap(rearmainspoilerposition_, other->rearmainspoilerposition_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBody::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyHood::InitAsDefaultInstance() { +} +class VehicleBodyHood::_Internal { + public: +}; + +VehicleBodyHood::VehicleBodyHood() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyHood) +} +VehicleBodyHood::VehicleBodyHood(const VehicleBodyHood& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isopen_ = from.isopen_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyHood) +} + +void VehicleBodyHood::SharedCtor() { + isopen_ = false; +} + +VehicleBodyHood::~VehicleBodyHood() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyHood) + SharedDtor(); +} + +void VehicleBodyHood::SharedDtor() { +} + +void VehicleBodyHood::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyHood& VehicleBodyHood::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyHood_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyHood::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyHood) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isopen_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyHood::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyHood::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyHood) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyHood) + return target; +} + +size_t VehicleBodyHood::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyHood) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyHood::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyHood) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyHood* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyHood>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyHood) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyHood) + MergeFrom(*source); + } +} + +void VehicleBodyHood::MergeFrom(const VehicleBodyHood& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyHood) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } +} + +void VehicleBodyHood::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyHood) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyHood::CopyFrom(const VehicleBodyHood& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyHood) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyHood::IsInitialized() const { + return true; +} + +void VehicleBodyHood::InternalSwap(VehicleBodyHood* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isopen_, other->isopen_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyHood::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyTrunk::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyTrunk_default_instance_._instance.get_mutable()->front_ = const_cast< ::com::vehicle::messages::VehicleBodyTrunkFront*>( + ::com::vehicle::messages::VehicleBodyTrunkFront::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyTrunk_default_instance_._instance.get_mutable()->rear_ = const_cast< ::com::vehicle::messages::VehicleBodyTrunkRear*>( + ::com::vehicle::messages::VehicleBodyTrunkRear::internal_default_instance()); +} +class VehicleBodyTrunk::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyTrunkFront& front(const VehicleBodyTrunk* msg); + static const ::com::vehicle::messages::VehicleBodyTrunkRear& rear(const VehicleBodyTrunk* msg); +}; + +const ::com::vehicle::messages::VehicleBodyTrunkFront& +VehicleBodyTrunk::_Internal::front(const VehicleBodyTrunk* msg) { + return *msg->front_; +} +const ::com::vehicle::messages::VehicleBodyTrunkRear& +VehicleBodyTrunk::_Internal::rear(const VehicleBodyTrunk* msg) { + return *msg->rear_; +} +VehicleBodyTrunk::VehicleBodyTrunk() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyTrunk) +} +VehicleBodyTrunk::VehicleBodyTrunk(const VehicleBodyTrunk& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_front()) { + front_ = new ::com::vehicle::messages::VehicleBodyTrunkFront(*from.front_); + } else { + front_ = nullptr; + } + if (from._internal_has_rear()) { + rear_ = new ::com::vehicle::messages::VehicleBodyTrunkRear(*from.rear_); + } else { + rear_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyTrunk) +} + +void VehicleBodyTrunk::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto.base); + ::memset(&front_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&rear_) - + reinterpret_cast<char*>(&front_)) + sizeof(rear_)); +} + +VehicleBodyTrunk::~VehicleBodyTrunk() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyTrunk) + SharedDtor(); +} + +void VehicleBodyTrunk::SharedDtor() { + if (this != internal_default_instance()) delete front_; + if (this != internal_default_instance()) delete rear_; +} + +void VehicleBodyTrunk::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyTrunk& VehicleBodyTrunk::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyTrunk_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyTrunk::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyTrunk) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && front_ != nullptr) { + delete front_; + } + front_ = nullptr; + if (GetArenaNoVirtual() == nullptr && rear_ != nullptr) { + delete rear_; + } + rear_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyTrunk::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyTrunkFront Front = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_front(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyTrunkRear Rear = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_rear(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyTrunk::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyTrunk) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyTrunkFront Front = 1; + if (this->has_front()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::front(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyTrunkRear Rear = 2; + if (this->has_rear()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::rear(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyTrunk) + return target; +} + +size_t VehicleBodyTrunk::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyTrunk) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyTrunkFront Front = 1; + if (this->has_front()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *front_); + } + + // .com.vehicle.messages.VehicleBodyTrunkRear Rear = 2; + if (this->has_rear()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *rear_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyTrunk::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyTrunk) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyTrunk* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyTrunk>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyTrunk) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyTrunk) + MergeFrom(*source); + } +} + +void VehicleBodyTrunk::MergeFrom(const VehicleBodyTrunk& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyTrunk) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_front()) { + _internal_mutable_front()->::com::vehicle::messages::VehicleBodyTrunkFront::MergeFrom(from._internal_front()); + } + if (from.has_rear()) { + _internal_mutable_rear()->::com::vehicle::messages::VehicleBodyTrunkRear::MergeFrom(from._internal_rear()); + } +} + +void VehicleBodyTrunk::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyTrunk) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyTrunk::CopyFrom(const VehicleBodyTrunk& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyTrunk) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyTrunk::IsInitialized() const { + return true; +} + +void VehicleBodyTrunk::InternalSwap(VehicleBodyTrunk* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(front_, other->front_); + swap(rear_, other->rear_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyTrunk::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyTrunkFront::InitAsDefaultInstance() { +} +class VehicleBodyTrunkFront::_Internal { + public: +}; + +VehicleBodyTrunkFront::VehicleBodyTrunkFront() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyTrunkFront) +} +VehicleBodyTrunkFront::VehicleBodyTrunkFront(const VehicleBodyTrunkFront& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isopen_, &from.isopen_, + static_cast<size_t>(reinterpret_cast<char*>(&islocked_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(islocked_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyTrunkFront) +} + +void VehicleBodyTrunkFront::SharedCtor() { + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islocked_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(islocked_)); +} + +VehicleBodyTrunkFront::~VehicleBodyTrunkFront() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyTrunkFront) + SharedDtor(); +} + +void VehicleBodyTrunkFront::SharedDtor() { +} + +void VehicleBodyTrunkFront::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyTrunkFront& VehicleBodyTrunkFront::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyTrunkFront_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyTrunkFront::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyTrunkFront) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islocked_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(islocked_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyTrunkFront::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyTrunkFront::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyTrunkFront) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islocked(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyTrunkFront) + return target; +} + +size_t VehicleBodyTrunkFront::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyTrunkFront) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyTrunkFront::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyTrunkFront) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyTrunkFront* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyTrunkFront>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyTrunkFront) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyTrunkFront) + MergeFrom(*source); + } +} + +void VehicleBodyTrunkFront::MergeFrom(const VehicleBodyTrunkFront& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyTrunkFront) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.islocked() != 0) { + _internal_set_islocked(from._internal_islocked()); + } +} + +void VehicleBodyTrunkFront::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyTrunkFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyTrunkFront::CopyFrom(const VehicleBodyTrunkFront& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyTrunkFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyTrunkFront::IsInitialized() const { + return true; +} + +void VehicleBodyTrunkFront::InternalSwap(VehicleBodyTrunkFront* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isopen_, other->isopen_); + swap(islocked_, other->islocked_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyTrunkFront::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyTrunkRear::InitAsDefaultInstance() { +} +class VehicleBodyTrunkRear::_Internal { + public: +}; + +VehicleBodyTrunkRear::VehicleBodyTrunkRear() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyTrunkRear) +} +VehicleBodyTrunkRear::VehicleBodyTrunkRear(const VehicleBodyTrunkRear& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isopen_, &from.isopen_, + static_cast<size_t>(reinterpret_cast<char*>(&islocked_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(islocked_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyTrunkRear) +} + +void VehicleBodyTrunkRear::SharedCtor() { + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islocked_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(islocked_)); +} + +VehicleBodyTrunkRear::~VehicleBodyTrunkRear() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyTrunkRear) + SharedDtor(); +} + +void VehicleBodyTrunkRear::SharedDtor() { +} + +void VehicleBodyTrunkRear::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyTrunkRear& VehicleBodyTrunkRear::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyTrunkRear_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyTrunkRear::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyTrunkRear) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islocked_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(islocked_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyTrunkRear::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyTrunkRear::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyTrunkRear) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islocked(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyTrunkRear) + return target; +} + +size_t VehicleBodyTrunkRear::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyTrunkRear) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyTrunkRear::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyTrunkRear) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyTrunkRear* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyTrunkRear>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyTrunkRear) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyTrunkRear) + MergeFrom(*source); + } +} + +void VehicleBodyTrunkRear::MergeFrom(const VehicleBodyTrunkRear& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyTrunkRear) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.islocked() != 0) { + _internal_set_islocked(from._internal_islocked()); + } +} + +void VehicleBodyTrunkRear::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyTrunkRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyTrunkRear::CopyFrom(const VehicleBodyTrunkRear& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyTrunkRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyTrunkRear::IsInitialized() const { + return true; +} + +void VehicleBodyTrunkRear::InternalSwap(VehicleBodyTrunkRear* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isopen_, other->isopen_); + swap(islocked_, other->islocked_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyTrunkRear::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyHorn::InitAsDefaultInstance() { +} +class VehicleBodyHorn::_Internal { + public: +}; + +VehicleBodyHorn::VehicleBodyHorn() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyHorn) +} +VehicleBodyHorn::VehicleBodyHorn(const VehicleBodyHorn& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isactive_ = from.isactive_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyHorn) +} + +void VehicleBodyHorn::SharedCtor() { + isactive_ = false; +} + +VehicleBodyHorn::~VehicleBodyHorn() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyHorn) + SharedDtor(); +} + +void VehicleBodyHorn::SharedDtor() { +} + +void VehicleBodyHorn::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyHorn& VehicleBodyHorn::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyHorn_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyHorn::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyHorn) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isactive_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyHorn::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsActive = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyHorn::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyHorn) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsActive = 1; + if (this->isactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isactive(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyHorn) + return target; +} + +size_t VehicleBodyHorn::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyHorn) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsActive = 1; + if (this->isactive() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyHorn::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyHorn) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyHorn* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyHorn>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyHorn) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyHorn) + MergeFrom(*source); + } +} + +void VehicleBodyHorn::MergeFrom(const VehicleBodyHorn& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyHorn) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isactive() != 0) { + _internal_set_isactive(from._internal_isactive()); + } +} + +void VehicleBodyHorn::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyHorn) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyHorn::CopyFrom(const VehicleBodyHorn& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyHorn) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyHorn::IsInitialized() const { + return true; +} + +void VehicleBodyHorn::InternalSwap(VehicleBodyHorn* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isactive_, other->isactive_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyHorn::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyRaindetection::InitAsDefaultInstance() { +} +class VehicleBodyRaindetection::_Internal { + public: +}; + +VehicleBodyRaindetection::VehicleBodyRaindetection() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyRaindetection) +} +VehicleBodyRaindetection::VehicleBodyRaindetection(const VehicleBodyRaindetection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + intensity_ = from.intensity_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyRaindetection) +} + +void VehicleBodyRaindetection::SharedCtor() { + intensity_ = 0u; +} + +VehicleBodyRaindetection::~VehicleBodyRaindetection() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyRaindetection) + SharedDtor(); +} + +void VehicleBodyRaindetection::SharedDtor() { +} + +void VehicleBodyRaindetection::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyRaindetection& VehicleBodyRaindetection::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyRaindetection_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyRaindetection::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyRaindetection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + intensity_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyRaindetection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Intensity = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + intensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyRaindetection::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyRaindetection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Intensity = 1; + if (this->intensity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_intensity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyRaindetection) + return target; +} + +size_t VehicleBodyRaindetection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyRaindetection) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Intensity = 1; + if (this->intensity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_intensity()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyRaindetection::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyRaindetection) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyRaindetection* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyRaindetection>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyRaindetection) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyRaindetection) + MergeFrom(*source); + } +} + +void VehicleBodyRaindetection::MergeFrom(const VehicleBodyRaindetection& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyRaindetection) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.intensity() != 0) { + _internal_set_intensity(from._internal_intensity()); + } +} + +void VehicleBodyRaindetection::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyRaindetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyRaindetection::CopyFrom(const VehicleBodyRaindetection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyRaindetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyRaindetection::IsInitialized() const { + return true; +} + +void VehicleBodyRaindetection::InternalSwap(VehicleBodyRaindetection* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(intensity_, other->intensity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyRaindetection::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshield::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyWindshield_default_instance_._instance.get_mutable()->front_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldFront*>( + ::com::vehicle::messages::VehicleBodyWindshieldFront::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyWindshield_default_instance_._instance.get_mutable()->rear_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldRear*>( + ::com::vehicle::messages::VehicleBodyWindshieldRear::internal_default_instance()); +} +class VehicleBodyWindshield::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyWindshieldFront& front(const VehicleBodyWindshield* msg); + static const ::com::vehicle::messages::VehicleBodyWindshieldRear& rear(const VehicleBodyWindshield* msg); +}; + +const ::com::vehicle::messages::VehicleBodyWindshieldFront& +VehicleBodyWindshield::_Internal::front(const VehicleBodyWindshield* msg) { + return *msg->front_; +} +const ::com::vehicle::messages::VehicleBodyWindshieldRear& +VehicleBodyWindshield::_Internal::rear(const VehicleBodyWindshield* msg) { + return *msg->rear_; +} +VehicleBodyWindshield::VehicleBodyWindshield() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshield) +} +VehicleBodyWindshield::VehicleBodyWindshield(const VehicleBodyWindshield& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_front()) { + front_ = new ::com::vehicle::messages::VehicleBodyWindshieldFront(*from.front_); + } else { + front_ = nullptr; + } + if (from._internal_has_rear()) { + rear_ = new ::com::vehicle::messages::VehicleBodyWindshieldRear(*from.rear_); + } else { + rear_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshield) +} + +void VehicleBodyWindshield::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto.base); + ::memset(&front_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&rear_) - + reinterpret_cast<char*>(&front_)) + sizeof(rear_)); +} + +VehicleBodyWindshield::~VehicleBodyWindshield() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshield) + SharedDtor(); +} + +void VehicleBodyWindshield::SharedDtor() { + if (this != internal_default_instance()) delete front_; + if (this != internal_default_instance()) delete rear_; +} + +void VehicleBodyWindshield::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshield& VehicleBodyWindshield::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshield_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshield::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshield) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && front_ != nullptr) { + delete front_; + } + front_ = nullptr; + if (GetArenaNoVirtual() == nullptr && rear_ != nullptr) { + delete rear_; + } + rear_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshield::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyWindshieldFront Front = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_front(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyWindshieldRear Rear = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_rear(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshield::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshield) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyWindshieldFront Front = 1; + if (this->has_front()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::front(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyWindshieldRear Rear = 2; + if (this->has_rear()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::rear(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshield) + return target; +} + +size_t VehicleBodyWindshield::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshield) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyWindshieldFront Front = 1; + if (this->has_front()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *front_); + } + + // .com.vehicle.messages.VehicleBodyWindshieldRear Rear = 2; + if (this->has_rear()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *rear_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshield::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshield) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshield* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshield>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshield) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshield) + MergeFrom(*source); + } +} + +void VehicleBodyWindshield::MergeFrom(const VehicleBodyWindshield& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshield) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_front()) { + _internal_mutable_front()->::com::vehicle::messages::VehicleBodyWindshieldFront::MergeFrom(from._internal_front()); + } + if (from.has_rear()) { + _internal_mutable_rear()->::com::vehicle::messages::VehicleBodyWindshieldRear::MergeFrom(from._internal_rear()); + } +} + +void VehicleBodyWindshield::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshield) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshield::CopyFrom(const VehicleBodyWindshield& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshield) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshield::IsInitialized() const { + return true; +} + +void VehicleBodyWindshield::InternalSwap(VehicleBodyWindshield* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(front_, other->front_); + swap(rear_, other->rear_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshield::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldFront::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyWindshieldFront_default_instance_._instance.get_mutable()->wiping_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping*>( + ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyWindshieldFront_default_instance_._instance.get_mutable()->washerfluid_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid*>( + ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid::internal_default_instance()); +} +class VehicleBodyWindshieldFront::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping& wiping(const VehicleBodyWindshieldFront* msg); + static const ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid& washerfluid(const VehicleBodyWindshieldFront* msg); +}; + +const ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping& +VehicleBodyWindshieldFront::_Internal::wiping(const VehicleBodyWindshieldFront* msg) { + return *msg->wiping_; +} +const ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid& +VehicleBodyWindshieldFront::_Internal::washerfluid(const VehicleBodyWindshieldFront* msg) { + return *msg->washerfluid_; +} +VehicleBodyWindshieldFront::VehicleBodyWindshieldFront() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldFront) +} +VehicleBodyWindshieldFront::VehicleBodyWindshieldFront(const VehicleBodyWindshieldFront& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_wiping()) { + wiping_ = new ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping(*from.wiping_); + } else { + wiping_ = nullptr; + } + if (from._internal_has_washerfluid()) { + washerfluid_ = new ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid(*from.washerfluid_); + } else { + washerfluid_ = nullptr; + } + isheatingon_ = from.isheatingon_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldFront) +} + +void VehicleBodyWindshieldFront::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto.base); + ::memset(&wiping_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&wiping_)) + sizeof(isheatingon_)); +} + +VehicleBodyWindshieldFront::~VehicleBodyWindshieldFront() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldFront) + SharedDtor(); +} + +void VehicleBodyWindshieldFront::SharedDtor() { + if (this != internal_default_instance()) delete wiping_; + if (this != internal_default_instance()) delete washerfluid_; +} + +void VehicleBodyWindshieldFront::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldFront& VehicleBodyWindshieldFront::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldFront_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldFront::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldFront) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && wiping_ != nullptr) { + delete wiping_; + } + wiping_ = nullptr; + if (GetArenaNoVirtual() == nullptr && washerfluid_ != nullptr) { + delete washerfluid_; + } + washerfluid_ = nullptr; + isheatingon_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldFront::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyWindshieldFrontWiping Wiping = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_wiping(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsHeatingOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid WasherFluid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_washerfluid(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldFront::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldFront) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyWindshieldFrontWiping Wiping = 1; + if (this->has_wiping()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::wiping(this), target, stream); + } + + // bool IsHeatingOn = 2; + if (this->isheatingon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isheatingon(), target); + } + + // .com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid WasherFluid = 3; + if (this->has_washerfluid()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::washerfluid(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldFront) + return target; +} + +size_t VehicleBodyWindshieldFront::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldFront) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyWindshieldFrontWiping Wiping = 1; + if (this->has_wiping()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *wiping_); + } + + // .com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid WasherFluid = 3; + if (this->has_washerfluid()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *washerfluid_); + } + + // bool IsHeatingOn = 2; + if (this->isheatingon() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldFront::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFront) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldFront* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldFront>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldFront) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldFront) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldFront::MergeFrom(const VehicleBodyWindshieldFront& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFront) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_wiping()) { + _internal_mutable_wiping()->::com::vehicle::messages::VehicleBodyWindshieldFrontWiping::MergeFrom(from._internal_wiping()); + } + if (from.has_washerfluid()) { + _internal_mutable_washerfluid()->::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid::MergeFrom(from._internal_washerfluid()); + } + if (from.isheatingon() != 0) { + _internal_set_isheatingon(from._internal_isheatingon()); + } +} + +void VehicleBodyWindshieldFront::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldFront::CopyFrom(const VehicleBodyWindshieldFront& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFront::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFront::InternalSwap(VehicleBodyWindshieldFront* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(wiping_, other->wiping_); + swap(washerfluid_, other->washerfluid_); + swap(isheatingon_, other->isheatingon_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFront::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldFrontWiping::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyWindshieldFrontWiping_default_instance_._instance.get_mutable()->system_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem*>( + ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem::internal_default_instance()); +} +class VehicleBodyWindshieldFrontWiping::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem& system(const VehicleBodyWindshieldFrontWiping* msg); +}; + +const ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem& +VehicleBodyWindshieldFrontWiping::_Internal::system(const VehicleBodyWindshieldFrontWiping* msg) { + return *msg->system_; +} +VehicleBodyWindshieldFrontWiping::VehicleBodyWindshieldFrontWiping() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) +} +VehicleBodyWindshieldFrontWiping::VehicleBodyWindshieldFrontWiping(const VehicleBodyWindshieldFrontWiping& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mode().empty()) { + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from._internal_has_system()) { + system_ = new ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem(*from.system_); + } else { + system_ = nullptr; + } + ::memcpy(&intensity_, &from.intensity_, + static_cast<size_t>(reinterpret_cast<char*>(&iswipersworn_) - + reinterpret_cast<char*>(&intensity_)) + sizeof(iswipersworn_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) +} + +void VehicleBodyWindshieldFrontWiping::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto.base); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&system_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iswipersworn_) - + reinterpret_cast<char*>(&system_)) + sizeof(iswipersworn_)); +} + +VehicleBodyWindshieldFrontWiping::~VehicleBodyWindshieldFrontWiping() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + SharedDtor(); +} + +void VehicleBodyWindshieldFrontWiping::SharedDtor() { + mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete system_; +} + +void VehicleBodyWindshieldFrontWiping::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldFrontWiping& VehicleBodyWindshieldFrontWiping::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldFrontWiping_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldFrontWiping::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && system_ != nullptr) { + delete system_; + } + system_ = nullptr; + ::memset(&intensity_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iswipersworn_) - + reinterpret_cast<char*>(&intensity_)) + sizeof(iswipersworn_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldFrontWiping::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mode(), ptr, ctx, "com.vehicle.messages.VehicleBodyWindshieldFrontWiping.Mode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Intensity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + intensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem System = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_system(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 WiperWear = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + wiperwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsWipersWorn = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + iswipersworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldFrontWiping::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBodyWindshieldFrontWiping.Mode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_mode(), target); + } + + // uint32 Intensity = 2; + if (this->intensity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_intensity(), target); + } + + // .com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem System = 3; + if (this->has_system()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::system(this), target, stream); + } + + // uint32 WiperWear = 4; + if (this->wiperwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wiperwear(), target); + } + + // bool IsWipersWorn = 5; + if (this->iswipersworn() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_iswipersworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + return target; +} + +size_t VehicleBodyWindshieldFrontWiping::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // .com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem System = 3; + if (this->has_system()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *system_); + } + + // uint32 Intensity = 2; + if (this->intensity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_intensity()); + } + + // uint32 WiperWear = 4; + if (this->wiperwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_wiperwear()); + } + + // bool IsWipersWorn = 5; + if (this->iswipersworn() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldFrontWiping::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldFrontWiping* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldFrontWiping>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldFrontWiping::MergeFrom(const VehicleBodyWindshieldFrontWiping& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.mode().size() > 0) { + + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from.has_system()) { + _internal_mutable_system()->::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem::MergeFrom(from._internal_system()); + } + if (from.intensity() != 0) { + _internal_set_intensity(from._internal_intensity()); + } + if (from.wiperwear() != 0) { + _internal_set_wiperwear(from._internal_wiperwear()); + } + if (from.iswipersworn() != 0) { + _internal_set_iswipersworn(from._internal_iswipersworn()); + } +} + +void VehicleBodyWindshieldFrontWiping::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldFrontWiping::CopyFrom(const VehicleBodyWindshieldFrontWiping& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWiping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFrontWiping::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFrontWiping::InternalSwap(VehicleBodyWindshieldFrontWiping* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(system_, other->system_); + swap(intensity_, other->intensity_); + swap(wiperwear_, other->wiperwear_); + swap(iswipersworn_, other->iswipersworn_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFrontWiping::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldFrontWipingSystem::InitAsDefaultInstance() { +} +class VehicleBodyWindshieldFrontWipingSystem::_Internal { + public: +}; + +VehicleBodyWindshieldFrontWipingSystem::VehicleBodyWindshieldFrontWipingSystem() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) +} +VehicleBodyWindshieldFrontWipingSystem::VehicleBodyWindshieldFrontWipingSystem(const VehicleBodyWindshieldFrontWipingSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mode().empty()) { + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + ::memcpy(&frequency_, &from.frequency_, + static_cast<size_t>(reinterpret_cast<char*>(&isoverheated_) - + reinterpret_cast<char*>(&frequency_)) + sizeof(isoverheated_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) +} + +void VehicleBodyWindshieldFrontWipingSystem::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto.base); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&frequency_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isoverheated_) - + reinterpret_cast<char*>(&frequency_)) + sizeof(isoverheated_)); +} + +VehicleBodyWindshieldFrontWipingSystem::~VehicleBodyWindshieldFrontWipingSystem() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + SharedDtor(); +} + +void VehicleBodyWindshieldFrontWipingSystem::SharedDtor() { + mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleBodyWindshieldFrontWipingSystem::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldFrontWipingSystem& VehicleBodyWindshieldFrontWipingSystem::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldFrontWipingSystem_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldFrontWipingSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&frequency_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isoverheated_) - + reinterpret_cast<char*>(&frequency_)) + sizeof(isoverheated_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldFrontWipingSystem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mode(), ptr, ctx, "com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem.Mode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Frequency = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float TargetPosition = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + targetposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ActualPosition = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + actualposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float DriveCurrent = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { + drivecurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // bool IsWiping = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + iswiping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEndingWipeCycle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + isendingwipecycle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsWiperError = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + iswipererror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPositionReached = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + ispositionreached_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBlocked = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + isblocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsOverheated = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + isoverheated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldFrontWipingSystem::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem.Mode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_mode(), target); + } + + // uint32 Frequency = 2; + if (this->frequency() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_frequency(), target); + } + + // float TargetPosition = 3; + if (!(this->targetposition() <= 0 && this->targetposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_targetposition(), target); + } + + // float ActualPosition = 4; + if (!(this->actualposition() <= 0 && this->actualposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_actualposition(), target); + } + + // float DriveCurrent = 5; + if (!(this->drivecurrent() <= 0 && this->drivecurrent() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_drivecurrent(), target); + } + + // bool IsWiping = 6; + if (this->iswiping() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_iswiping(), target); + } + + // bool IsEndingWipeCycle = 7; + if (this->isendingwipecycle() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_isendingwipecycle(), target); + } + + // bool IsWiperError = 8; + if (this->iswipererror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_iswipererror(), target); + } + + // bool IsPositionReached = 9; + if (this->ispositionreached() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_ispositionreached(), target); + } + + // bool IsBlocked = 10; + if (this->isblocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_isblocked(), target); + } + + // bool IsOverheated = 11; + if (this->isoverheated() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_isoverheated(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + return target; +} + +size_t VehicleBodyWindshieldFrontWipingSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // uint32 Frequency = 2; + if (this->frequency() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_frequency()); + } + + // float TargetPosition = 3; + if (!(this->targetposition() <= 0 && this->targetposition() >= 0)) { + total_size += 1 + 4; + } + + // float ActualPosition = 4; + if (!(this->actualposition() <= 0 && this->actualposition() >= 0)) { + total_size += 1 + 4; + } + + // float DriveCurrent = 5; + if (!(this->drivecurrent() <= 0 && this->drivecurrent() >= 0)) { + total_size += 1 + 4; + } + + // bool IsWiping = 6; + if (this->iswiping() != 0) { + total_size += 1 + 1; + } + + // bool IsEndingWipeCycle = 7; + if (this->isendingwipecycle() != 0) { + total_size += 1 + 1; + } + + // bool IsWiperError = 8; + if (this->iswipererror() != 0) { + total_size += 1 + 1; + } + + // bool IsPositionReached = 9; + if (this->ispositionreached() != 0) { + total_size += 1 + 1; + } + + // bool IsBlocked = 10; + if (this->isblocked() != 0) { + total_size += 1 + 1; + } + + // bool IsOverheated = 11; + if (this->isoverheated() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldFrontWipingSystem::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldFrontWipingSystem* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldFrontWipingSystem>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldFrontWipingSystem::MergeFrom(const VehicleBodyWindshieldFrontWipingSystem& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.mode().size() > 0) { + + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from.frequency() != 0) { + _internal_set_frequency(from._internal_frequency()); + } + if (!(from.targetposition() <= 0 && from.targetposition() >= 0)) { + _internal_set_targetposition(from._internal_targetposition()); + } + if (!(from.actualposition() <= 0 && from.actualposition() >= 0)) { + _internal_set_actualposition(from._internal_actualposition()); + } + if (!(from.drivecurrent() <= 0 && from.drivecurrent() >= 0)) { + _internal_set_drivecurrent(from._internal_drivecurrent()); + } + if (from.iswiping() != 0) { + _internal_set_iswiping(from._internal_iswiping()); + } + if (from.isendingwipecycle() != 0) { + _internal_set_isendingwipecycle(from._internal_isendingwipecycle()); + } + if (from.iswipererror() != 0) { + _internal_set_iswipererror(from._internal_iswipererror()); + } + if (from.ispositionreached() != 0) { + _internal_set_ispositionreached(from._internal_ispositionreached()); + } + if (from.isblocked() != 0) { + _internal_set_isblocked(from._internal_isblocked()); + } + if (from.isoverheated() != 0) { + _internal_set_isoverheated(from._internal_isoverheated()); + } +} + +void VehicleBodyWindshieldFrontWipingSystem::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldFrontWipingSystem::CopyFrom(const VehicleBodyWindshieldFrontWipingSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWipingSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFrontWipingSystem::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFrontWipingSystem::InternalSwap(VehicleBodyWindshieldFrontWipingSystem* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(frequency_, other->frequency_); + swap(targetposition_, other->targetposition_); + swap(actualposition_, other->actualposition_); + swap(drivecurrent_, other->drivecurrent_); + swap(iswiping_, other->iswiping_); + swap(isendingwipecycle_, other->isendingwipecycle_); + swap(iswipererror_, other->iswipererror_); + swap(ispositionreached_, other->ispositionreached_); + swap(isblocked_, other->isblocked_); + swap(isoverheated_, other->isoverheated_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFrontWipingSystem::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldFrontWasherFluid::InitAsDefaultInstance() { +} +class VehicleBodyWindshieldFrontWasherFluid::_Internal { + public: +}; + +VehicleBodyWindshieldFrontWasherFluid::VehicleBodyWindshieldFrontWasherFluid() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) +} +VehicleBodyWindshieldFrontWasherFluid::VehicleBodyWindshieldFrontWasherFluid(const VehicleBodyWindshieldFrontWasherFluid& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&islevellow_, &from.islevellow_, + static_cast<size_t>(reinterpret_cast<char*>(&level_) - + reinterpret_cast<char*>(&islevellow_)) + sizeof(level_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) +} + +void VehicleBodyWindshieldFrontWasherFluid::SharedCtor() { + ::memset(&islevellow_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&level_) - + reinterpret_cast<char*>(&islevellow_)) + sizeof(level_)); +} + +VehicleBodyWindshieldFrontWasherFluid::~VehicleBodyWindshieldFrontWasherFluid() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + SharedDtor(); +} + +void VehicleBodyWindshieldFrontWasherFluid::SharedDtor() { +} + +void VehicleBodyWindshieldFrontWasherFluid::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldFrontWasherFluid& VehicleBodyWindshieldFrontWasherFluid::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldFrontWasherFluid_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldFrontWasherFluid::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&islevellow_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&level_) - + reinterpret_cast<char*>(&islevellow_)) + sizeof(level_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldFrontWasherFluid::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsLevelLow = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + islevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Level = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldFrontWasherFluid::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->islevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_islevellow(), target); + } + + // uint32 Level = 2; + if (this->level() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_level(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + return target; +} + +size_t VehicleBodyWindshieldFrontWasherFluid::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->islevellow() != 0) { + total_size += 1 + 1; + } + + // uint32 Level = 2; + if (this->level() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_level()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldFrontWasherFluid::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldFrontWasherFluid* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldFrontWasherFluid>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldFrontWasherFluid::MergeFrom(const VehicleBodyWindshieldFrontWasherFluid& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.islevellow() != 0) { + _internal_set_islevellow(from._internal_islevellow()); + } + if (from.level() != 0) { + _internal_set_level(from._internal_level()); + } +} + +void VehicleBodyWindshieldFrontWasherFluid::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldFrontWasherFluid::CopyFrom(const VehicleBodyWindshieldFrontWasherFluid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldFrontWasherFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldFrontWasherFluid::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldFrontWasherFluid::InternalSwap(VehicleBodyWindshieldFrontWasherFluid* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(islevellow_, other->islevellow_); + swap(level_, other->level_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldFrontWasherFluid::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldRear::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyWindshieldRear_default_instance_._instance.get_mutable()->wiping_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldRearWiping*>( + ::com::vehicle::messages::VehicleBodyWindshieldRearWiping::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyWindshieldRear_default_instance_._instance.get_mutable()->washerfluid_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid*>( + ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid::internal_default_instance()); +} +class VehicleBodyWindshieldRear::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyWindshieldRearWiping& wiping(const VehicleBodyWindshieldRear* msg); + static const ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid& washerfluid(const VehicleBodyWindshieldRear* msg); +}; + +const ::com::vehicle::messages::VehicleBodyWindshieldRearWiping& +VehicleBodyWindshieldRear::_Internal::wiping(const VehicleBodyWindshieldRear* msg) { + return *msg->wiping_; +} +const ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid& +VehicleBodyWindshieldRear::_Internal::washerfluid(const VehicleBodyWindshieldRear* msg) { + return *msg->washerfluid_; +} +VehicleBodyWindshieldRear::VehicleBodyWindshieldRear() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldRear) +} +VehicleBodyWindshieldRear::VehicleBodyWindshieldRear(const VehicleBodyWindshieldRear& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_wiping()) { + wiping_ = new ::com::vehicle::messages::VehicleBodyWindshieldRearWiping(*from.wiping_); + } else { + wiping_ = nullptr; + } + if (from._internal_has_washerfluid()) { + washerfluid_ = new ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid(*from.washerfluid_); + } else { + washerfluid_ = nullptr; + } + isheatingon_ = from.isheatingon_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldRear) +} + +void VehicleBodyWindshieldRear::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto.base); + ::memset(&wiping_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&wiping_)) + sizeof(isheatingon_)); +} + +VehicleBodyWindshieldRear::~VehicleBodyWindshieldRear() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldRear) + SharedDtor(); +} + +void VehicleBodyWindshieldRear::SharedDtor() { + if (this != internal_default_instance()) delete wiping_; + if (this != internal_default_instance()) delete washerfluid_; +} + +void VehicleBodyWindshieldRear::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldRear& VehicleBodyWindshieldRear::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldRear_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldRear::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldRear) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && wiping_ != nullptr) { + delete wiping_; + } + wiping_ = nullptr; + if (GetArenaNoVirtual() == nullptr && washerfluid_ != nullptr) { + delete washerfluid_; + } + washerfluid_ = nullptr; + isheatingon_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldRear::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyWindshieldRearWiping Wiping = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_wiping(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsHeatingOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid WasherFluid = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_washerfluid(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldRear::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldRear) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyWindshieldRearWiping Wiping = 1; + if (this->has_wiping()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::wiping(this), target, stream); + } + + // bool IsHeatingOn = 2; + if (this->isheatingon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isheatingon(), target); + } + + // .com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid WasherFluid = 3; + if (this->has_washerfluid()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::washerfluid(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldRear) + return target; +} + +size_t VehicleBodyWindshieldRear::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldRear) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyWindshieldRearWiping Wiping = 1; + if (this->has_wiping()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *wiping_); + } + + // .com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid WasherFluid = 3; + if (this->has_washerfluid()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *washerfluid_); + } + + // bool IsHeatingOn = 2; + if (this->isheatingon() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldRear::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRear) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldRear* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldRear>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldRear) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldRear) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldRear::MergeFrom(const VehicleBodyWindshieldRear& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRear) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_wiping()) { + _internal_mutable_wiping()->::com::vehicle::messages::VehicleBodyWindshieldRearWiping::MergeFrom(from._internal_wiping()); + } + if (from.has_washerfluid()) { + _internal_mutable_washerfluid()->::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid::MergeFrom(from._internal_washerfluid()); + } + if (from.isheatingon() != 0) { + _internal_set_isheatingon(from._internal_isheatingon()); + } +} + +void VehicleBodyWindshieldRear::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldRear::CopyFrom(const VehicleBodyWindshieldRear& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRear::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRear::InternalSwap(VehicleBodyWindshieldRear* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(wiping_, other->wiping_); + swap(washerfluid_, other->washerfluid_); + swap(isheatingon_, other->isheatingon_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRear::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldRearWiping::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyWindshieldRearWiping_default_instance_._instance.get_mutable()->system_ = const_cast< ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem*>( + ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem::internal_default_instance()); +} +class VehicleBodyWindshieldRearWiping::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem& system(const VehicleBodyWindshieldRearWiping* msg); +}; + +const ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem& +VehicleBodyWindshieldRearWiping::_Internal::system(const VehicleBodyWindshieldRearWiping* msg) { + return *msg->system_; +} +VehicleBodyWindshieldRearWiping::VehicleBodyWindshieldRearWiping() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldRearWiping) +} +VehicleBodyWindshieldRearWiping::VehicleBodyWindshieldRearWiping(const VehicleBodyWindshieldRearWiping& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mode().empty()) { + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from._internal_has_system()) { + system_ = new ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem(*from.system_); + } else { + system_ = nullptr; + } + ::memcpy(&intensity_, &from.intensity_, + static_cast<size_t>(reinterpret_cast<char*>(&iswipersworn_) - + reinterpret_cast<char*>(&intensity_)) + sizeof(iswipersworn_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldRearWiping) +} + +void VehicleBodyWindshieldRearWiping::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto.base); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&system_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iswipersworn_) - + reinterpret_cast<char*>(&system_)) + sizeof(iswipersworn_)); +} + +VehicleBodyWindshieldRearWiping::~VehicleBodyWindshieldRearWiping() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + SharedDtor(); +} + +void VehicleBodyWindshieldRearWiping::SharedDtor() { + mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete system_; +} + +void VehicleBodyWindshieldRearWiping::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldRearWiping& VehicleBodyWindshieldRearWiping::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldRearWiping_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldRearWiping::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && system_ != nullptr) { + delete system_; + } + system_ = nullptr; + ::memset(&intensity_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iswipersworn_) - + reinterpret_cast<char*>(&intensity_)) + sizeof(iswipersworn_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldRearWiping::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mode(), ptr, ctx, "com.vehicle.messages.VehicleBodyWindshieldRearWiping.Mode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Intensity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + intensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem System = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_system(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 WiperWear = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + wiperwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsWipersWorn = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + iswipersworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldRearWiping::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBodyWindshieldRearWiping.Mode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_mode(), target); + } + + // uint32 Intensity = 2; + if (this->intensity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_intensity(), target); + } + + // .com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem System = 3; + if (this->has_system()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::system(this), target, stream); + } + + // uint32 WiperWear = 4; + if (this->wiperwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_wiperwear(), target); + } + + // bool IsWipersWorn = 5; + if (this->iswipersworn() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_iswipersworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + return target; +} + +size_t VehicleBodyWindshieldRearWiping::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // .com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem System = 3; + if (this->has_system()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *system_); + } + + // uint32 Intensity = 2; + if (this->intensity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_intensity()); + } + + // uint32 WiperWear = 4; + if (this->wiperwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_wiperwear()); + } + + // bool IsWipersWorn = 5; + if (this->iswipersworn() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldRearWiping::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldRearWiping* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldRearWiping>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldRearWiping::MergeFrom(const VehicleBodyWindshieldRearWiping& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.mode().size() > 0) { + + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from.has_system()) { + _internal_mutable_system()->::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem::MergeFrom(from._internal_system()); + } + if (from.intensity() != 0) { + _internal_set_intensity(from._internal_intensity()); + } + if (from.wiperwear() != 0) { + _internal_set_wiperwear(from._internal_wiperwear()); + } + if (from.iswipersworn() != 0) { + _internal_set_iswipersworn(from._internal_iswipersworn()); + } +} + +void VehicleBodyWindshieldRearWiping::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldRearWiping::CopyFrom(const VehicleBodyWindshieldRearWiping& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWiping) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRearWiping::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRearWiping::InternalSwap(VehicleBodyWindshieldRearWiping* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(system_, other->system_); + swap(intensity_, other->intensity_); + swap(wiperwear_, other->wiperwear_); + swap(iswipersworn_, other->iswipersworn_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRearWiping::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldRearWipingSystem::InitAsDefaultInstance() { +} +class VehicleBodyWindshieldRearWipingSystem::_Internal { + public: +}; + +VehicleBodyWindshieldRearWipingSystem::VehicleBodyWindshieldRearWipingSystem() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) +} +VehicleBodyWindshieldRearWipingSystem::VehicleBodyWindshieldRearWipingSystem(const VehicleBodyWindshieldRearWipingSystem& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mode().empty()) { + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + ::memcpy(&frequency_, &from.frequency_, + static_cast<size_t>(reinterpret_cast<char*>(&isoverheated_) - + reinterpret_cast<char*>(&frequency_)) + sizeof(isoverheated_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) +} + +void VehicleBodyWindshieldRearWipingSystem::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto.base); + mode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&frequency_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isoverheated_) - + reinterpret_cast<char*>(&frequency_)) + sizeof(isoverheated_)); +} + +VehicleBodyWindshieldRearWipingSystem::~VehicleBodyWindshieldRearWipingSystem() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + SharedDtor(); +} + +void VehicleBodyWindshieldRearWipingSystem::SharedDtor() { + mode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleBodyWindshieldRearWipingSystem::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldRearWipingSystem& VehicleBodyWindshieldRearWipingSystem::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldRearWipingSystem_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldRearWipingSystem::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&frequency_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isoverheated_) - + reinterpret_cast<char*>(&frequency_)) + sizeof(isoverheated_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldRearWipingSystem::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Mode = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mode(), ptr, ctx, "com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem.Mode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Frequency = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + frequency_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float TargetPosition = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + targetposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ActualPosition = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + actualposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float DriveCurrent = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { + drivecurrent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // bool IsWiping = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + iswiping_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEndingWipeCycle = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + isendingwipecycle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsWiperError = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + iswipererror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPositionReached = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + ispositionreached_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBlocked = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + isblocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsOverheated = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + isoverheated_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldRearWipingSystem::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mode().data(), static_cast<int>(this->_internal_mode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem.Mode"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_mode(), target); + } + + // uint32 Frequency = 2; + if (this->frequency() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_frequency(), target); + } + + // float TargetPosition = 3; + if (!(this->targetposition() <= 0 && this->targetposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_targetposition(), target); + } + + // float ActualPosition = 4; + if (!(this->actualposition() <= 0 && this->actualposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_actualposition(), target); + } + + // float DriveCurrent = 5; + if (!(this->drivecurrent() <= 0 && this->drivecurrent() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_drivecurrent(), target); + } + + // bool IsWiping = 6; + if (this->iswiping() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_iswiping(), target); + } + + // bool IsEndingWipeCycle = 7; + if (this->isendingwipecycle() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_isendingwipecycle(), target); + } + + // bool IsWiperError = 8; + if (this->iswipererror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_iswipererror(), target); + } + + // bool IsPositionReached = 9; + if (this->ispositionreached() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(9, this->_internal_ispositionreached(), target); + } + + // bool IsBlocked = 10; + if (this->isblocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(10, this->_internal_isblocked(), target); + } + + // bool IsOverheated = 11; + if (this->isoverheated() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(11, this->_internal_isoverheated(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + return target; +} + +size_t VehicleBodyWindshieldRearWipingSystem::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mode = 1; + if (this->mode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mode()); + } + + // uint32 Frequency = 2; + if (this->frequency() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_frequency()); + } + + // float TargetPosition = 3; + if (!(this->targetposition() <= 0 && this->targetposition() >= 0)) { + total_size += 1 + 4; + } + + // float ActualPosition = 4; + if (!(this->actualposition() <= 0 && this->actualposition() >= 0)) { + total_size += 1 + 4; + } + + // float DriveCurrent = 5; + if (!(this->drivecurrent() <= 0 && this->drivecurrent() >= 0)) { + total_size += 1 + 4; + } + + // bool IsWiping = 6; + if (this->iswiping() != 0) { + total_size += 1 + 1; + } + + // bool IsEndingWipeCycle = 7; + if (this->isendingwipecycle() != 0) { + total_size += 1 + 1; + } + + // bool IsWiperError = 8; + if (this->iswipererror() != 0) { + total_size += 1 + 1; + } + + // bool IsPositionReached = 9; + if (this->ispositionreached() != 0) { + total_size += 1 + 1; + } + + // bool IsBlocked = 10; + if (this->isblocked() != 0) { + total_size += 1 + 1; + } + + // bool IsOverheated = 11; + if (this->isoverheated() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldRearWipingSystem::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldRearWipingSystem* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldRearWipingSystem>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldRearWipingSystem::MergeFrom(const VehicleBodyWindshieldRearWipingSystem& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.mode().size() > 0) { + + mode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mode_); + } + if (from.frequency() != 0) { + _internal_set_frequency(from._internal_frequency()); + } + if (!(from.targetposition() <= 0 && from.targetposition() >= 0)) { + _internal_set_targetposition(from._internal_targetposition()); + } + if (!(from.actualposition() <= 0 && from.actualposition() >= 0)) { + _internal_set_actualposition(from._internal_actualposition()); + } + if (!(from.drivecurrent() <= 0 && from.drivecurrent() >= 0)) { + _internal_set_drivecurrent(from._internal_drivecurrent()); + } + if (from.iswiping() != 0) { + _internal_set_iswiping(from._internal_iswiping()); + } + if (from.isendingwipecycle() != 0) { + _internal_set_isendingwipecycle(from._internal_isendingwipecycle()); + } + if (from.iswipererror() != 0) { + _internal_set_iswipererror(from._internal_iswipererror()); + } + if (from.ispositionreached() != 0) { + _internal_set_ispositionreached(from._internal_ispositionreached()); + } + if (from.isblocked() != 0) { + _internal_set_isblocked(from._internal_isblocked()); + } + if (from.isoverheated() != 0) { + _internal_set_isoverheated(from._internal_isoverheated()); + } +} + +void VehicleBodyWindshieldRearWipingSystem::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldRearWipingSystem::CopyFrom(const VehicleBodyWindshieldRearWipingSystem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWipingSystem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRearWipingSystem::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRearWipingSystem::InternalSwap(VehicleBodyWindshieldRearWipingSystem* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + mode_.Swap(&other->mode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(frequency_, other->frequency_); + swap(targetposition_, other->targetposition_); + swap(actualposition_, other->actualposition_); + swap(drivecurrent_, other->drivecurrent_); + swap(iswiping_, other->iswiping_); + swap(isendingwipecycle_, other->isendingwipecycle_); + swap(iswipererror_, other->iswipererror_); + swap(ispositionreached_, other->ispositionreached_); + swap(isblocked_, other->isblocked_); + swap(isoverheated_, other->isoverheated_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRearWipingSystem::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyWindshieldRearWasherFluid::InitAsDefaultInstance() { +} +class VehicleBodyWindshieldRearWasherFluid::_Internal { + public: +}; + +VehicleBodyWindshieldRearWasherFluid::VehicleBodyWindshieldRearWasherFluid() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) +} +VehicleBodyWindshieldRearWasherFluid::VehicleBodyWindshieldRearWasherFluid(const VehicleBodyWindshieldRearWasherFluid& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&islevellow_, &from.islevellow_, + static_cast<size_t>(reinterpret_cast<char*>(&level_) - + reinterpret_cast<char*>(&islevellow_)) + sizeof(level_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) +} + +void VehicleBodyWindshieldRearWasherFluid::SharedCtor() { + ::memset(&islevellow_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&level_) - + reinterpret_cast<char*>(&islevellow_)) + sizeof(level_)); +} + +VehicleBodyWindshieldRearWasherFluid::~VehicleBodyWindshieldRearWasherFluid() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + SharedDtor(); +} + +void VehicleBodyWindshieldRearWasherFluid::SharedDtor() { +} + +void VehicleBodyWindshieldRearWasherFluid::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyWindshieldRearWasherFluid& VehicleBodyWindshieldRearWasherFluid::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyWindshieldRearWasherFluid_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyWindshieldRearWasherFluid::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&islevellow_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&level_) - + reinterpret_cast<char*>(&islevellow_)) + sizeof(level_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyWindshieldRearWasherFluid::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsLevelLow = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + islevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Level = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + level_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyWindshieldRearWasherFluid::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->islevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_islevellow(), target); + } + + // uint32 Level = 2; + if (this->level() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_level(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + return target; +} + +size_t VehicleBodyWindshieldRearWasherFluid::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsLevelLow = 1; + if (this->islevellow() != 0) { + total_size += 1 + 1; + } + + // uint32 Level = 2; + if (this->level() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_level()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyWindshieldRearWasherFluid::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyWindshieldRearWasherFluid* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyWindshieldRearWasherFluid>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + MergeFrom(*source); + } +} + +void VehicleBodyWindshieldRearWasherFluid::MergeFrom(const VehicleBodyWindshieldRearWasherFluid& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.islevellow() != 0) { + _internal_set_islevellow(from._internal_islevellow()); + } + if (from.level() != 0) { + _internal_set_level(from._internal_level()); + } +} + +void VehicleBodyWindshieldRearWasherFluid::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyWindshieldRearWasherFluid::CopyFrom(const VehicleBodyWindshieldRearWasherFluid& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyWindshieldRearWasherFluid) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyWindshieldRearWasherFluid::IsInitialized() const { + return true; +} + +void VehicleBodyWindshieldRearWasherFluid::InternalSwap(VehicleBodyWindshieldRearWasherFluid* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(islevellow_, other->islevellow_); + swap(level_, other->level_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyWindshieldRearWasherFluid::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLights::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->beam_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsBeam*>( + ::com::vehicle::messages::VehicleBodyLightsBeam::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->running_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsRunning*>( + ::com::vehicle::messages::VehicleBodyLightsRunning::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->backup_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsBackup*>( + ::com::vehicle::messages::VehicleBodyLightsBackup::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->parking_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsParking*>( + ::com::vehicle::messages::VehicleBodyLightsParking::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->fog_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsFog*>( + ::com::vehicle::messages::VehicleBodyLightsFog::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->licenseplate_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsLicensePlate*>( + ::com::vehicle::messages::VehicleBodyLightsLicensePlate::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->brake_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsBrake*>( + ::com::vehicle::messages::VehicleBodyLightsBrake::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->hazard_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsHazard*>( + ::com::vehicle::messages::VehicleBodyLightsHazard::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLights_default_instance_._instance.get_mutable()->directionindicator_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator*>( + ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator::internal_default_instance()); +} +class VehicleBodyLights::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyLightsBeam& beam(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsRunning& running(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsBackup& backup(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsParking& parking(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsFog& fog(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsLicensePlate& licenseplate(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsBrake& brake(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsHazard& hazard(const VehicleBodyLights* msg); + static const ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator& directionindicator(const VehicleBodyLights* msg); +}; + +const ::com::vehicle::messages::VehicleBodyLightsBeam& +VehicleBodyLights::_Internal::beam(const VehicleBodyLights* msg) { + return *msg->beam_; +} +const ::com::vehicle::messages::VehicleBodyLightsRunning& +VehicleBodyLights::_Internal::running(const VehicleBodyLights* msg) { + return *msg->running_; +} +const ::com::vehicle::messages::VehicleBodyLightsBackup& +VehicleBodyLights::_Internal::backup(const VehicleBodyLights* msg) { + return *msg->backup_; +} +const ::com::vehicle::messages::VehicleBodyLightsParking& +VehicleBodyLights::_Internal::parking(const VehicleBodyLights* msg) { + return *msg->parking_; +} +const ::com::vehicle::messages::VehicleBodyLightsFog& +VehicleBodyLights::_Internal::fog(const VehicleBodyLights* msg) { + return *msg->fog_; +} +const ::com::vehicle::messages::VehicleBodyLightsLicensePlate& +VehicleBodyLights::_Internal::licenseplate(const VehicleBodyLights* msg) { + return *msg->licenseplate_; +} +const ::com::vehicle::messages::VehicleBodyLightsBrake& +VehicleBodyLights::_Internal::brake(const VehicleBodyLights* msg) { + return *msg->brake_; +} +const ::com::vehicle::messages::VehicleBodyLightsHazard& +VehicleBodyLights::_Internal::hazard(const VehicleBodyLights* msg) { + return *msg->hazard_; +} +const ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator& +VehicleBodyLights::_Internal::directionindicator(const VehicleBodyLights* msg) { + return *msg->directionindicator_; +} +VehicleBodyLights::VehicleBodyLights() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLights) +} +VehicleBodyLights::VehicleBodyLights(const VehicleBodyLights& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + lightswitch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_lightswitch().empty()) { + lightswitch_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.lightswitch_); + } + if (from._internal_has_beam()) { + beam_ = new ::com::vehicle::messages::VehicleBodyLightsBeam(*from.beam_); + } else { + beam_ = nullptr; + } + if (from._internal_has_running()) { + running_ = new ::com::vehicle::messages::VehicleBodyLightsRunning(*from.running_); + } else { + running_ = nullptr; + } + if (from._internal_has_backup()) { + backup_ = new ::com::vehicle::messages::VehicleBodyLightsBackup(*from.backup_); + } else { + backup_ = nullptr; + } + if (from._internal_has_parking()) { + parking_ = new ::com::vehicle::messages::VehicleBodyLightsParking(*from.parking_); + } else { + parking_ = nullptr; + } + if (from._internal_has_fog()) { + fog_ = new ::com::vehicle::messages::VehicleBodyLightsFog(*from.fog_); + } else { + fog_ = nullptr; + } + if (from._internal_has_licenseplate()) { + licenseplate_ = new ::com::vehicle::messages::VehicleBodyLightsLicensePlate(*from.licenseplate_); + } else { + licenseplate_ = nullptr; + } + if (from._internal_has_brake()) { + brake_ = new ::com::vehicle::messages::VehicleBodyLightsBrake(*from.brake_); + } else { + brake_ = nullptr; + } + if (from._internal_has_hazard()) { + hazard_ = new ::com::vehicle::messages::VehicleBodyLightsHazard(*from.hazard_); + } else { + hazard_ = nullptr; + } + if (from._internal_has_directionindicator()) { + directionindicator_ = new ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator(*from.directionindicator_); + } else { + directionindicator_ = nullptr; + } + ishighbeamswitchon_ = from.ishighbeamswitchon_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLights) +} + +void VehicleBodyLights::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyLights_V2C_2fvspec_2eproto.base); + lightswitch_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&beam_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ishighbeamswitchon_) - + reinterpret_cast<char*>(&beam_)) + sizeof(ishighbeamswitchon_)); +} + +VehicleBodyLights::~VehicleBodyLights() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLights) + SharedDtor(); +} + +void VehicleBodyLights::SharedDtor() { + lightswitch_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete beam_; + if (this != internal_default_instance()) delete running_; + if (this != internal_default_instance()) delete backup_; + if (this != internal_default_instance()) delete parking_; + if (this != internal_default_instance()) delete fog_; + if (this != internal_default_instance()) delete licenseplate_; + if (this != internal_default_instance()) delete brake_; + if (this != internal_default_instance()) delete hazard_; + if (this != internal_default_instance()) delete directionindicator_; +} + +void VehicleBodyLights::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLights& VehicleBodyLights::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLights_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLights::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLights) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + lightswitch_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && beam_ != nullptr) { + delete beam_; + } + beam_ = nullptr; + if (GetArenaNoVirtual() == nullptr && running_ != nullptr) { + delete running_; + } + running_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backup_ != nullptr) { + delete backup_; + } + backup_ = nullptr; + if (GetArenaNoVirtual() == nullptr && parking_ != nullptr) { + delete parking_; + } + parking_ = nullptr; + if (GetArenaNoVirtual() == nullptr && fog_ != nullptr) { + delete fog_; + } + fog_ = nullptr; + if (GetArenaNoVirtual() == nullptr && licenseplate_ != nullptr) { + delete licenseplate_; + } + licenseplate_ = nullptr; + if (GetArenaNoVirtual() == nullptr && brake_ != nullptr) { + delete brake_; + } + brake_ = nullptr; + if (GetArenaNoVirtual() == nullptr && hazard_ != nullptr) { + delete hazard_; + } + hazard_ = nullptr; + if (GetArenaNoVirtual() == nullptr && directionindicator_ != nullptr) { + delete directionindicator_; + } + directionindicator_ = nullptr; + ishighbeamswitchon_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLights::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string LightSwitch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_lightswitch(), ptr, ctx, "com.vehicle.messages.VehicleBodyLights.LightSwitch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsHighBeamSwitchOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ishighbeamswitchon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsBeam Beam = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_beam(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsRunning Running = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_running(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsBackup Backup = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_backup(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsParking Parking = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_parking(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsFog Fog = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_fog(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsLicensePlate LicensePlate = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_licenseplate(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsBrake Brake = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsHazard Hazard = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_hazard(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicator DirectionIndicator = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_directionindicator(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLights::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLights) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string LightSwitch = 1; + if (this->lightswitch().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_lightswitch().data(), static_cast<int>(this->_internal_lightswitch().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBodyLights.LightSwitch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_lightswitch(), target); + } + + // bool IsHighBeamSwitchOn = 2; + if (this->ishighbeamswitchon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_ishighbeamswitchon(), target); + } + + // .com.vehicle.messages.VehicleBodyLightsBeam Beam = 3; + if (this->has_beam()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::beam(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsRunning Running = 4; + if (this->has_running()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::running(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsBackup Backup = 5; + if (this->has_backup()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::backup(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsParking Parking = 6; + if (this->has_parking()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::parking(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsFog Fog = 7; + if (this->has_fog()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::fog(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsLicensePlate LicensePlate = 8; + if (this->has_licenseplate()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::licenseplate(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsBrake Brake = 9; + if (this->has_brake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::brake(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsHazard Hazard = 10; + if (this->has_hazard()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::hazard(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicator DirectionIndicator = 11; + if (this->has_directionindicator()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::directionindicator(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLights) + return target; +} + +size_t VehicleBodyLights::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLights) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string LightSwitch = 1; + if (this->lightswitch().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_lightswitch()); + } + + // .com.vehicle.messages.VehicleBodyLightsBeam Beam = 3; + if (this->has_beam()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *beam_); + } + + // .com.vehicle.messages.VehicleBodyLightsRunning Running = 4; + if (this->has_running()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *running_); + } + + // .com.vehicle.messages.VehicleBodyLightsBackup Backup = 5; + if (this->has_backup()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backup_); + } + + // .com.vehicle.messages.VehicleBodyLightsParking Parking = 6; + if (this->has_parking()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *parking_); + } + + // .com.vehicle.messages.VehicleBodyLightsFog Fog = 7; + if (this->has_fog()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *fog_); + } + + // .com.vehicle.messages.VehicleBodyLightsLicensePlate LicensePlate = 8; + if (this->has_licenseplate()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *licenseplate_); + } + + // .com.vehicle.messages.VehicleBodyLightsBrake Brake = 9; + if (this->has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *brake_); + } + + // .com.vehicle.messages.VehicleBodyLightsHazard Hazard = 10; + if (this->has_hazard()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *hazard_); + } + + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicator DirectionIndicator = 11; + if (this->has_directionindicator()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *directionindicator_); + } + + // bool IsHighBeamSwitchOn = 2; + if (this->ishighbeamswitchon() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLights::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLights) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLights* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLights>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLights) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLights) + MergeFrom(*source); + } +} + +void VehicleBodyLights::MergeFrom(const VehicleBodyLights& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLights) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.lightswitch().size() > 0) { + + lightswitch_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.lightswitch_); + } + if (from.has_beam()) { + _internal_mutable_beam()->::com::vehicle::messages::VehicleBodyLightsBeam::MergeFrom(from._internal_beam()); + } + if (from.has_running()) { + _internal_mutable_running()->::com::vehicle::messages::VehicleBodyLightsRunning::MergeFrom(from._internal_running()); + } + if (from.has_backup()) { + _internal_mutable_backup()->::com::vehicle::messages::VehicleBodyLightsBackup::MergeFrom(from._internal_backup()); + } + if (from.has_parking()) { + _internal_mutable_parking()->::com::vehicle::messages::VehicleBodyLightsParking::MergeFrom(from._internal_parking()); + } + if (from.has_fog()) { + _internal_mutable_fog()->::com::vehicle::messages::VehicleBodyLightsFog::MergeFrom(from._internal_fog()); + } + if (from.has_licenseplate()) { + _internal_mutable_licenseplate()->::com::vehicle::messages::VehicleBodyLightsLicensePlate::MergeFrom(from._internal_licenseplate()); + } + if (from.has_brake()) { + _internal_mutable_brake()->::com::vehicle::messages::VehicleBodyLightsBrake::MergeFrom(from._internal_brake()); + } + if (from.has_hazard()) { + _internal_mutable_hazard()->::com::vehicle::messages::VehicleBodyLightsHazard::MergeFrom(from._internal_hazard()); + } + if (from.has_directionindicator()) { + _internal_mutable_directionindicator()->::com::vehicle::messages::VehicleBodyLightsDirectionIndicator::MergeFrom(from._internal_directionindicator()); + } + if (from.ishighbeamswitchon() != 0) { + _internal_set_ishighbeamswitchon(from._internal_ishighbeamswitchon()); + } +} + +void VehicleBodyLights::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLights) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLights::CopyFrom(const VehicleBodyLights& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLights) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLights::IsInitialized() const { + return true; +} + +void VehicleBodyLights::InternalSwap(VehicleBodyLights* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + lightswitch_.Swap(&other->lightswitch_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(beam_, other->beam_); + swap(running_, other->running_); + swap(backup_, other->backup_); + swap(parking_, other->parking_); + swap(fog_, other->fog_); + swap(licenseplate_, other->licenseplate_); + swap(brake_, other->brake_); + swap(hazard_, other->hazard_); + swap(directionindicator_, other->directionindicator_); + swap(ishighbeamswitchon_, other->ishighbeamswitchon_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLights::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsBeam::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyLightsBeam_default_instance_._instance.get_mutable()->low_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsBeamLow*>( + ::com::vehicle::messages::VehicleBodyLightsBeamLow::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLightsBeam_default_instance_._instance.get_mutable()->high_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsBeamHigh*>( + ::com::vehicle::messages::VehicleBodyLightsBeamHigh::internal_default_instance()); +} +class VehicleBodyLightsBeam::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyLightsBeamLow& low(const VehicleBodyLightsBeam* msg); + static const ::com::vehicle::messages::VehicleBodyLightsBeamHigh& high(const VehicleBodyLightsBeam* msg); +}; + +const ::com::vehicle::messages::VehicleBodyLightsBeamLow& +VehicleBodyLightsBeam::_Internal::low(const VehicleBodyLightsBeam* msg) { + return *msg->low_; +} +const ::com::vehicle::messages::VehicleBodyLightsBeamHigh& +VehicleBodyLightsBeam::_Internal::high(const VehicleBodyLightsBeam* msg) { + return *msg->high_; +} +VehicleBodyLightsBeam::VehicleBodyLightsBeam() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsBeam) +} +VehicleBodyLightsBeam::VehicleBodyLightsBeam(const VehicleBodyLightsBeam& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_low()) { + low_ = new ::com::vehicle::messages::VehicleBodyLightsBeamLow(*from.low_); + } else { + low_ = nullptr; + } + if (from._internal_has_high()) { + high_ = new ::com::vehicle::messages::VehicleBodyLightsBeamHigh(*from.high_); + } else { + high_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsBeam) +} + +void VehicleBodyLightsBeam::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto.base); + ::memset(&low_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&high_) - + reinterpret_cast<char*>(&low_)) + sizeof(high_)); +} + +VehicleBodyLightsBeam::~VehicleBodyLightsBeam() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsBeam) + SharedDtor(); +} + +void VehicleBodyLightsBeam::SharedDtor() { + if (this != internal_default_instance()) delete low_; + if (this != internal_default_instance()) delete high_; +} + +void VehicleBodyLightsBeam::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsBeam& VehicleBodyLightsBeam::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsBeam_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsBeam::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsBeam) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && low_ != nullptr) { + delete low_; + } + low_ = nullptr; + if (GetArenaNoVirtual() == nullptr && high_ != nullptr) { + delete high_; + } + high_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsBeam::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyLightsBeamLow Low = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_low(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsBeamHigh High = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_high(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsBeam::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsBeam) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyLightsBeamLow Low = 1; + if (this->has_low()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::low(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsBeamHigh High = 2; + if (this->has_high()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::high(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsBeam) + return target; +} + +size_t VehicleBodyLightsBeam::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsBeam) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyLightsBeamLow Low = 1; + if (this->has_low()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *low_); + } + + // .com.vehicle.messages.VehicleBodyLightsBeamHigh High = 2; + if (this->has_high()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *high_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsBeam::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsBeam) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsBeam* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsBeam>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsBeam) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsBeam) + MergeFrom(*source); + } +} + +void VehicleBodyLightsBeam::MergeFrom(const VehicleBodyLightsBeam& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsBeam) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_low()) { + _internal_mutable_low()->::com::vehicle::messages::VehicleBodyLightsBeamLow::MergeFrom(from._internal_low()); + } + if (from.has_high()) { + _internal_mutable_high()->::com::vehicle::messages::VehicleBodyLightsBeamHigh::MergeFrom(from._internal_high()); + } +} + +void VehicleBodyLightsBeam::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsBeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsBeam::CopyFrom(const VehicleBodyLightsBeam& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsBeam) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBeam::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBeam::InternalSwap(VehicleBodyLightsBeam* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(low_, other->low_); + swap(high_, other->high_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBeam::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsBeamLow::InitAsDefaultInstance() { +} +class VehicleBodyLightsBeamLow::_Internal { + public: +}; + +VehicleBodyLightsBeamLow::VehicleBodyLightsBeamLow() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsBeamLow) +} +VehicleBodyLightsBeamLow::VehicleBodyLightsBeamLow(const VehicleBodyLightsBeamLow& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsBeamLow) +} + +void VehicleBodyLightsBeamLow::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsBeamLow::~VehicleBodyLightsBeamLow() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsBeamLow) + SharedDtor(); +} + +void VehicleBodyLightsBeamLow::SharedDtor() { +} + +void VehicleBodyLightsBeamLow::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsBeamLow& VehicleBodyLightsBeamLow::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsBeamLow_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsBeamLow::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsBeamLow::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsBeamLow::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsBeamLow) + return target; +} + +size_t VehicleBodyLightsBeamLow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsBeamLow::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsBeamLow* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsBeamLow>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsBeamLow) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsBeamLow) + MergeFrom(*source); + } +} + +void VehicleBodyLightsBeamLow::MergeFrom(const VehicleBodyLightsBeamLow& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsBeamLow::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsBeamLow::CopyFrom(const VehicleBodyLightsBeamLow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsBeamLow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBeamLow::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBeamLow::InternalSwap(VehicleBodyLightsBeamLow* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBeamLow::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsBeamHigh::InitAsDefaultInstance() { +} +class VehicleBodyLightsBeamHigh::_Internal { + public: +}; + +VehicleBodyLightsBeamHigh::VehicleBodyLightsBeamHigh() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsBeamHigh) +} +VehicleBodyLightsBeamHigh::VehicleBodyLightsBeamHigh(const VehicleBodyLightsBeamHigh& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsBeamHigh) +} + +void VehicleBodyLightsBeamHigh::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsBeamHigh::~VehicleBodyLightsBeamHigh() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsBeamHigh) + SharedDtor(); +} + +void VehicleBodyLightsBeamHigh::SharedDtor() { +} + +void VehicleBodyLightsBeamHigh::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsBeamHigh& VehicleBodyLightsBeamHigh::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsBeamHigh_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsBeamHigh::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsBeamHigh::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsBeamHigh::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsBeamHigh) + return target; +} + +size_t VehicleBodyLightsBeamHigh::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsBeamHigh::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsBeamHigh* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsBeamHigh>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsBeamHigh) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsBeamHigh) + MergeFrom(*source); + } +} + +void VehicleBodyLightsBeamHigh::MergeFrom(const VehicleBodyLightsBeamHigh& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsBeamHigh::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsBeamHigh::CopyFrom(const VehicleBodyLightsBeamHigh& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsBeamHigh) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBeamHigh::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBeamHigh::InternalSwap(VehicleBodyLightsBeamHigh* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBeamHigh::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsRunning::InitAsDefaultInstance() { +} +class VehicleBodyLightsRunning::_Internal { + public: +}; + +VehicleBodyLightsRunning::VehicleBodyLightsRunning() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsRunning) +} +VehicleBodyLightsRunning::VehicleBodyLightsRunning(const VehicleBodyLightsRunning& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsRunning) +} + +void VehicleBodyLightsRunning::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsRunning::~VehicleBodyLightsRunning() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsRunning) + SharedDtor(); +} + +void VehicleBodyLightsRunning::SharedDtor() { +} + +void VehicleBodyLightsRunning::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsRunning& VehicleBodyLightsRunning::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsRunning_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsRunning::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsRunning) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsRunning::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsRunning::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsRunning) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsRunning) + return target; +} + +size_t VehicleBodyLightsRunning::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsRunning) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsRunning::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsRunning) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsRunning* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsRunning>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsRunning) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsRunning) + MergeFrom(*source); + } +} + +void VehicleBodyLightsRunning::MergeFrom(const VehicleBodyLightsRunning& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsRunning) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsRunning::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsRunning) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsRunning::CopyFrom(const VehicleBodyLightsRunning& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsRunning) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsRunning::IsInitialized() const { + return true; +} + +void VehicleBodyLightsRunning::InternalSwap(VehicleBodyLightsRunning* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsRunning::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsBackup::InitAsDefaultInstance() { +} +class VehicleBodyLightsBackup::_Internal { + public: +}; + +VehicleBodyLightsBackup::VehicleBodyLightsBackup() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsBackup) +} +VehicleBodyLightsBackup::VehicleBodyLightsBackup(const VehicleBodyLightsBackup& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsBackup) +} + +void VehicleBodyLightsBackup::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsBackup::~VehicleBodyLightsBackup() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsBackup) + SharedDtor(); +} + +void VehicleBodyLightsBackup::SharedDtor() { +} + +void VehicleBodyLightsBackup::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsBackup& VehicleBodyLightsBackup::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsBackup_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsBackup::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsBackup) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsBackup::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsBackup::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsBackup) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsBackup) + return target; +} + +size_t VehicleBodyLightsBackup::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsBackup) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsBackup::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsBackup) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsBackup* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsBackup>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsBackup) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsBackup) + MergeFrom(*source); + } +} + +void VehicleBodyLightsBackup::MergeFrom(const VehicleBodyLightsBackup& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsBackup) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsBackup::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsBackup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsBackup::CopyFrom(const VehicleBodyLightsBackup& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsBackup) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBackup::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBackup::InternalSwap(VehicleBodyLightsBackup* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBackup::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsParking::InitAsDefaultInstance() { +} +class VehicleBodyLightsParking::_Internal { + public: +}; + +VehicleBodyLightsParking::VehicleBodyLightsParking() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsParking) +} +VehicleBodyLightsParking::VehicleBodyLightsParking(const VehicleBodyLightsParking& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsParking) +} + +void VehicleBodyLightsParking::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsParking::~VehicleBodyLightsParking() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsParking) + SharedDtor(); +} + +void VehicleBodyLightsParking::SharedDtor() { +} + +void VehicleBodyLightsParking::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsParking& VehicleBodyLightsParking::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsParking_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsParking::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsParking) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsParking::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsParking::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsParking) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsParking) + return target; +} + +size_t VehicleBodyLightsParking::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsParking) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsParking::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsParking) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsParking* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsParking>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsParking) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsParking) + MergeFrom(*source); + } +} + +void VehicleBodyLightsParking::MergeFrom(const VehicleBodyLightsParking& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsParking) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsParking::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsParking) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsParking::CopyFrom(const VehicleBodyLightsParking& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsParking) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsParking::IsInitialized() const { + return true; +} + +void VehicleBodyLightsParking::InternalSwap(VehicleBodyLightsParking* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsParking::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsFog::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyLightsFog_default_instance_._instance.get_mutable()->rear_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsFogRear*>( + ::com::vehicle::messages::VehicleBodyLightsFogRear::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLightsFog_default_instance_._instance.get_mutable()->front_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsFogFront*>( + ::com::vehicle::messages::VehicleBodyLightsFogFront::internal_default_instance()); +} +class VehicleBodyLightsFog::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyLightsFogRear& rear(const VehicleBodyLightsFog* msg); + static const ::com::vehicle::messages::VehicleBodyLightsFogFront& front(const VehicleBodyLightsFog* msg); +}; + +const ::com::vehicle::messages::VehicleBodyLightsFogRear& +VehicleBodyLightsFog::_Internal::rear(const VehicleBodyLightsFog* msg) { + return *msg->rear_; +} +const ::com::vehicle::messages::VehicleBodyLightsFogFront& +VehicleBodyLightsFog::_Internal::front(const VehicleBodyLightsFog* msg) { + return *msg->front_; +} +VehicleBodyLightsFog::VehicleBodyLightsFog() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsFog) +} +VehicleBodyLightsFog::VehicleBodyLightsFog(const VehicleBodyLightsFog& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_rear()) { + rear_ = new ::com::vehicle::messages::VehicleBodyLightsFogRear(*from.rear_); + } else { + rear_ = nullptr; + } + if (from._internal_has_front()) { + front_ = new ::com::vehicle::messages::VehicleBodyLightsFogFront(*from.front_); + } else { + front_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsFog) +} + +void VehicleBodyLightsFog::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto.base); + ::memset(&rear_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&front_) - + reinterpret_cast<char*>(&rear_)) + sizeof(front_)); +} + +VehicleBodyLightsFog::~VehicleBodyLightsFog() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsFog) + SharedDtor(); +} + +void VehicleBodyLightsFog::SharedDtor() { + if (this != internal_default_instance()) delete rear_; + if (this != internal_default_instance()) delete front_; +} + +void VehicleBodyLightsFog::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsFog& VehicleBodyLightsFog::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsFog_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsFog::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsFog) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && rear_ != nullptr) { + delete rear_; + } + rear_ = nullptr; + if (GetArenaNoVirtual() == nullptr && front_ != nullptr) { + delete front_; + } + front_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsFog::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyLightsFogRear Rear = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_rear(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsFogFront Front = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_front(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsFog::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsFog) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyLightsFogRear Rear = 1; + if (this->has_rear()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::rear(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsFogFront Front = 2; + if (this->has_front()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::front(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsFog) + return target; +} + +size_t VehicleBodyLightsFog::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsFog) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyLightsFogRear Rear = 1; + if (this->has_rear()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *rear_); + } + + // .com.vehicle.messages.VehicleBodyLightsFogFront Front = 2; + if (this->has_front()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *front_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsFog::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsFog) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsFog* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsFog>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsFog) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsFog) + MergeFrom(*source); + } +} + +void VehicleBodyLightsFog::MergeFrom(const VehicleBodyLightsFog& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsFog) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_rear()) { + _internal_mutable_rear()->::com::vehicle::messages::VehicleBodyLightsFogRear::MergeFrom(from._internal_rear()); + } + if (from.has_front()) { + _internal_mutable_front()->::com::vehicle::messages::VehicleBodyLightsFogFront::MergeFrom(from._internal_front()); + } +} + +void VehicleBodyLightsFog::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsFog) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsFog::CopyFrom(const VehicleBodyLightsFog& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsFog) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsFog::IsInitialized() const { + return true; +} + +void VehicleBodyLightsFog::InternalSwap(VehicleBodyLightsFog* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(rear_, other->rear_); + swap(front_, other->front_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsFog::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsFogRear::InitAsDefaultInstance() { +} +class VehicleBodyLightsFogRear::_Internal { + public: +}; + +VehicleBodyLightsFogRear::VehicleBodyLightsFogRear() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsFogRear) +} +VehicleBodyLightsFogRear::VehicleBodyLightsFogRear(const VehicleBodyLightsFogRear& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsFogRear) +} + +void VehicleBodyLightsFogRear::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsFogRear::~VehicleBodyLightsFogRear() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsFogRear) + SharedDtor(); +} + +void VehicleBodyLightsFogRear::SharedDtor() { +} + +void VehicleBodyLightsFogRear::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsFogRear& VehicleBodyLightsFogRear::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsFogRear_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsFogRear::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsFogRear) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsFogRear::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsFogRear::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsFogRear) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsFogRear) + return target; +} + +size_t VehicleBodyLightsFogRear::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsFogRear) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsFogRear::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsFogRear) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsFogRear* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsFogRear>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsFogRear) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsFogRear) + MergeFrom(*source); + } +} + +void VehicleBodyLightsFogRear::MergeFrom(const VehicleBodyLightsFogRear& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsFogRear) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsFogRear::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsFogRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsFogRear::CopyFrom(const VehicleBodyLightsFogRear& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsFogRear) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsFogRear::IsInitialized() const { + return true; +} + +void VehicleBodyLightsFogRear::InternalSwap(VehicleBodyLightsFogRear* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsFogRear::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsFogFront::InitAsDefaultInstance() { +} +class VehicleBodyLightsFogFront::_Internal { + public: +}; + +VehicleBodyLightsFogFront::VehicleBodyLightsFogFront() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsFogFront) +} +VehicleBodyLightsFogFront::VehicleBodyLightsFogFront(const VehicleBodyLightsFogFront& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsFogFront) +} + +void VehicleBodyLightsFogFront::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsFogFront::~VehicleBodyLightsFogFront() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsFogFront) + SharedDtor(); +} + +void VehicleBodyLightsFogFront::SharedDtor() { +} + +void VehicleBodyLightsFogFront::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsFogFront& VehicleBodyLightsFogFront::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsFogFront_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsFogFront::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsFogFront) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsFogFront::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsFogFront::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsFogFront) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsFogFront) + return target; +} + +size_t VehicleBodyLightsFogFront::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsFogFront) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsFogFront::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsFogFront) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsFogFront* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsFogFront>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsFogFront) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsFogFront) + MergeFrom(*source); + } +} + +void VehicleBodyLightsFogFront::MergeFrom(const VehicleBodyLightsFogFront& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsFogFront) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsFogFront::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsFogFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsFogFront::CopyFrom(const VehicleBodyLightsFogFront& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsFogFront) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsFogFront::IsInitialized() const { + return true; +} + +void VehicleBodyLightsFogFront::InternalSwap(VehicleBodyLightsFogFront* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsFogFront::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsLicensePlate::InitAsDefaultInstance() { +} +class VehicleBodyLightsLicensePlate::_Internal { + public: +}; + +VehicleBodyLightsLicensePlate::VehicleBodyLightsLicensePlate() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsLicensePlate) +} +VehicleBodyLightsLicensePlate::VehicleBodyLightsLicensePlate(const VehicleBodyLightsLicensePlate& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ison_, &from.ison_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsLicensePlate) +} + +void VehicleBodyLightsLicensePlate::SharedCtor() { + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsLicensePlate::~VehicleBodyLightsLicensePlate() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsLicensePlate) + SharedDtor(); +} + +void VehicleBodyLightsLicensePlate::SharedDtor() { +} + +void VehicleBodyLightsLicensePlate::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsLicensePlate& VehicleBodyLightsLicensePlate::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsLicensePlate_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsLicensePlate::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ison_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&ison_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsLicensePlate::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ison_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsLicensePlate::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ison(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsLicensePlate) + return target; +} + +size_t VehicleBodyLightsLicensePlate::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsOn = 1; + if (this->ison() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsLicensePlate::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsLicensePlate* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsLicensePlate>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsLicensePlate) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsLicensePlate) + MergeFrom(*source); + } +} + +void VehicleBodyLightsLicensePlate::MergeFrom(const VehicleBodyLightsLicensePlate& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ison() != 0) { + _internal_set_ison(from._internal_ison()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsLicensePlate::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsLicensePlate::CopyFrom(const VehicleBodyLightsLicensePlate& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsLicensePlate) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsLicensePlate::IsInitialized() const { + return true; +} + +void VehicleBodyLightsLicensePlate::InternalSwap(VehicleBodyLightsLicensePlate* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ison_, other->ison_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsLicensePlate::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsBrake::InitAsDefaultInstance() { +} +class VehicleBodyLightsBrake::_Internal { + public: +}; + +VehicleBodyLightsBrake::VehicleBodyLightsBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsBrake) +} +VehicleBodyLightsBrake::VehicleBodyLightsBrake(const VehicleBodyLightsBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isactive_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_isactive().empty()) { + isactive_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.isactive_); + } + isdefect_ = from.isdefect_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsBrake) +} + +void VehicleBodyLightsBrake::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto.base); + isactive_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + isdefect_ = false; +} + +VehicleBodyLightsBrake::~VehicleBodyLightsBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsBrake) + SharedDtor(); +} + +void VehicleBodyLightsBrake::SharedDtor() { + isactive_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleBodyLightsBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsBrake& VehicleBodyLightsBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isactive_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + isdefect_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string IsActive = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_isactive(), ptr, ctx, "com.vehicle.messages.VehicleBodyLightsBrake.IsActive"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string IsActive = 1; + if (this->isactive().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_isactive().data(), static_cast<int>(this->_internal_isactive().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleBodyLightsBrake.IsActive"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_isactive(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsBrake) + return target; +} + +size_t VehicleBodyLightsBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string IsActive = 1; + if (this->isactive().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_isactive()); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsBrake) + MergeFrom(*source); + } +} + +void VehicleBodyLightsBrake::MergeFrom(const VehicleBodyLightsBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isactive().size() > 0) { + + isactive_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.isactive_); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsBrake::CopyFrom(const VehicleBodyLightsBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsBrake::IsInitialized() const { + return true; +} + +void VehicleBodyLightsBrake::InternalSwap(VehicleBodyLightsBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + isactive_.Swap(&other->isactive_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsHazard::InitAsDefaultInstance() { +} +class VehicleBodyLightsHazard::_Internal { + public: +}; + +VehicleBodyLightsHazard::VehicleBodyLightsHazard() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsHazard) +} +VehicleBodyLightsHazard::VehicleBodyLightsHazard(const VehicleBodyLightsHazard& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issignaling_, &from.issignaling_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsHazard) +} + +void VehicleBodyLightsHazard::SharedCtor() { + ::memset(&issignaling_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsHazard::~VehicleBodyLightsHazard() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsHazard) + SharedDtor(); +} + +void VehicleBodyLightsHazard::SharedDtor() { +} + +void VehicleBodyLightsHazard::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsHazard& VehicleBodyLightsHazard::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsHazard_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsHazard::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsHazard) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issignaling_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsHazard::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSignaling = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issignaling_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsHazard::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsHazard) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->issignaling() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issignaling(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsHazard) + return target; +} + +size_t VehicleBodyLightsHazard::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsHazard) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->issignaling() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsHazard::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsHazard) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsHazard* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsHazard>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsHazard) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsHazard) + MergeFrom(*source); + } +} + +void VehicleBodyLightsHazard::MergeFrom(const VehicleBodyLightsHazard& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsHazard) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issignaling() != 0) { + _internal_set_issignaling(from._internal_issignaling()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsHazard::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsHazard) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsHazard::CopyFrom(const VehicleBodyLightsHazard& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsHazard) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsHazard::IsInitialized() const { + return true; +} + +void VehicleBodyLightsHazard::InternalSwap(VehicleBodyLightsHazard* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issignaling_, other->issignaling_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsHazard::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsDirectionIndicator::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyLightsDirectionIndicator_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft*>( + ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyLightsDirectionIndicator_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight*>( + ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight::internal_default_instance()); +} +class VehicleBodyLightsDirectionIndicator::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft& left(const VehicleBodyLightsDirectionIndicator* msg); + static const ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight& right(const VehicleBodyLightsDirectionIndicator* msg); +}; + +const ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft& +VehicleBodyLightsDirectionIndicator::_Internal::left(const VehicleBodyLightsDirectionIndicator* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight& +VehicleBodyLightsDirectionIndicator::_Internal::right(const VehicleBodyLightsDirectionIndicator* msg) { + return *msg->right_; +} +VehicleBodyLightsDirectionIndicator::VehicleBodyLightsDirectionIndicator() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) +} +VehicleBodyLightsDirectionIndicator::VehicleBodyLightsDirectionIndicator(const VehicleBodyLightsDirectionIndicator& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) +} + +void VehicleBodyLightsDirectionIndicator::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleBodyLightsDirectionIndicator::~VehicleBodyLightsDirectionIndicator() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + SharedDtor(); +} + +void VehicleBodyLightsDirectionIndicator::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleBodyLightsDirectionIndicator::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsDirectionIndicator& VehicleBodyLightsDirectionIndicator::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsDirectionIndicator_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsDirectionIndicator::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsDirectionIndicator::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsDirectionIndicator::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + return target; +} + +size_t VehicleBodyLightsDirectionIndicator::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsDirectionIndicator::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsDirectionIndicator* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsDirectionIndicator>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + MergeFrom(*source); + } +} + +void VehicleBodyLightsDirectionIndicator::MergeFrom(const VehicleBodyLightsDirectionIndicator& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight::MergeFrom(from._internal_right()); + } +} + +void VehicleBodyLightsDirectionIndicator::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsDirectionIndicator::CopyFrom(const VehicleBodyLightsDirectionIndicator& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsDirectionIndicator::IsInitialized() const { + return true; +} + +void VehicleBodyLightsDirectionIndicator::InternalSwap(VehicleBodyLightsDirectionIndicator* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsDirectionIndicator::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsDirectionIndicatorLeft::InitAsDefaultInstance() { +} +class VehicleBodyLightsDirectionIndicatorLeft::_Internal { + public: +}; + +VehicleBodyLightsDirectionIndicatorLeft::VehicleBodyLightsDirectionIndicatorLeft() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) +} +VehicleBodyLightsDirectionIndicatorLeft::VehicleBodyLightsDirectionIndicatorLeft(const VehicleBodyLightsDirectionIndicatorLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issignaling_, &from.issignaling_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) +} + +void VehicleBodyLightsDirectionIndicatorLeft::SharedCtor() { + ::memset(&issignaling_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsDirectionIndicatorLeft::~VehicleBodyLightsDirectionIndicatorLeft() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + SharedDtor(); +} + +void VehicleBodyLightsDirectionIndicatorLeft::SharedDtor() { +} + +void VehicleBodyLightsDirectionIndicatorLeft::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsDirectionIndicatorLeft& VehicleBodyLightsDirectionIndicatorLeft::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsDirectionIndicatorLeft_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsDirectionIndicatorLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issignaling_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsDirectionIndicatorLeft::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSignaling = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issignaling_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsDirectionIndicatorLeft::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->issignaling() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issignaling(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + return target; +} + +size_t VehicleBodyLightsDirectionIndicatorLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->issignaling() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsDirectionIndicatorLeft::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsDirectionIndicatorLeft* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsDirectionIndicatorLeft>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + MergeFrom(*source); + } +} + +void VehicleBodyLightsDirectionIndicatorLeft::MergeFrom(const VehicleBodyLightsDirectionIndicatorLeft& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issignaling() != 0) { + _internal_set_issignaling(from._internal_issignaling()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsDirectionIndicatorLeft::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsDirectionIndicatorLeft::CopyFrom(const VehicleBodyLightsDirectionIndicatorLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsDirectionIndicatorLeft::IsInitialized() const { + return true; +} + +void VehicleBodyLightsDirectionIndicatorLeft::InternalSwap(VehicleBodyLightsDirectionIndicatorLeft* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issignaling_, other->issignaling_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsDirectionIndicatorLeft::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyLightsDirectionIndicatorRight::InitAsDefaultInstance() { +} +class VehicleBodyLightsDirectionIndicatorRight::_Internal { + public: +}; + +VehicleBodyLightsDirectionIndicatorRight::VehicleBodyLightsDirectionIndicatorRight() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) +} +VehicleBodyLightsDirectionIndicatorRight::VehicleBodyLightsDirectionIndicatorRight(const VehicleBodyLightsDirectionIndicatorRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issignaling_, &from.issignaling_, + static_cast<size_t>(reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) +} + +void VehicleBodyLightsDirectionIndicatorRight::SharedCtor() { + ::memset(&issignaling_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); +} + +VehicleBodyLightsDirectionIndicatorRight::~VehicleBodyLightsDirectionIndicatorRight() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + SharedDtor(); +} + +void VehicleBodyLightsDirectionIndicatorRight::SharedDtor() { +} + +void VehicleBodyLightsDirectionIndicatorRight::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyLightsDirectionIndicatorRight& VehicleBodyLightsDirectionIndicatorRight::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyLightsDirectionIndicatorRight_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyLightsDirectionIndicatorRight::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issignaling_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdefect_) - + reinterpret_cast<char*>(&issignaling_)) + sizeof(isdefect_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyLightsDirectionIndicatorRight::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSignaling = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issignaling_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDefect = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdefect_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyLightsDirectionIndicatorRight::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->issignaling() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issignaling(), target); + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdefect(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + return target; +} + +size_t VehicleBodyLightsDirectionIndicatorRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSignaling = 1; + if (this->issignaling() != 0) { + total_size += 1 + 1; + } + + // bool IsDefect = 2; + if (this->isdefect() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyLightsDirectionIndicatorRight::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyLightsDirectionIndicatorRight* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyLightsDirectionIndicatorRight>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + MergeFrom(*source); + } +} + +void VehicleBodyLightsDirectionIndicatorRight::MergeFrom(const VehicleBodyLightsDirectionIndicatorRight& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issignaling() != 0) { + _internal_set_issignaling(from._internal_issignaling()); + } + if (from.isdefect() != 0) { + _internal_set_isdefect(from._internal_isdefect()); + } +} + +void VehicleBodyLightsDirectionIndicatorRight::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyLightsDirectionIndicatorRight::CopyFrom(const VehicleBodyLightsDirectionIndicatorRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyLightsDirectionIndicatorRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyLightsDirectionIndicatorRight::IsInitialized() const { + return true; +} + +void VehicleBodyLightsDirectionIndicatorRight::InternalSwap(VehicleBodyLightsDirectionIndicatorRight* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issignaling_, other->issignaling_); + swap(isdefect_, other->isdefect_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyLightsDirectionIndicatorRight::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyMirrors::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleBodyMirrors_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleBodyMirrorsLeft*>( + ::com::vehicle::messages::VehicleBodyMirrorsLeft::internal_default_instance()); + ::com::vehicle::messages::_VehicleBodyMirrors_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleBodyMirrorsRight*>( + ::com::vehicle::messages::VehicleBodyMirrorsRight::internal_default_instance()); +} +class VehicleBodyMirrors::_Internal { + public: + static const ::com::vehicle::messages::VehicleBodyMirrorsLeft& left(const VehicleBodyMirrors* msg); + static const ::com::vehicle::messages::VehicleBodyMirrorsRight& right(const VehicleBodyMirrors* msg); +}; + +const ::com::vehicle::messages::VehicleBodyMirrorsLeft& +VehicleBodyMirrors::_Internal::left(const VehicleBodyMirrors* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleBodyMirrorsRight& +VehicleBodyMirrors::_Internal::right(const VehicleBodyMirrors* msg) { + return *msg->right_; +} +VehicleBodyMirrors::VehicleBodyMirrors() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyMirrors) +} +VehicleBodyMirrors::VehicleBodyMirrors(const VehicleBodyMirrors& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleBodyMirrorsLeft(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleBodyMirrorsRight(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyMirrors) +} + +void VehicleBodyMirrors::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleBodyMirrors::~VehicleBodyMirrors() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyMirrors) + SharedDtor(); +} + +void VehicleBodyMirrors::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleBodyMirrors::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyMirrors& VehicleBodyMirrors::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyMirrors_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyMirrors::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyMirrors) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleBodyMirrors::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleBodyMirrorsLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleBodyMirrorsRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyMirrors::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyMirrors) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyMirrorsLeft Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleBodyMirrorsRight Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyMirrors) + return target; +} + +size_t VehicleBodyMirrors::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyMirrors) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleBodyMirrorsLeft Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleBodyMirrorsRight Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyMirrors::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyMirrors) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyMirrors* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyMirrors>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyMirrors) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyMirrors) + MergeFrom(*source); + } +} + +void VehicleBodyMirrors::MergeFrom(const VehicleBodyMirrors& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyMirrors) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleBodyMirrorsLeft::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleBodyMirrorsRight::MergeFrom(from._internal_right()); + } +} + +void VehicleBodyMirrors::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyMirrors) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyMirrors::CopyFrom(const VehicleBodyMirrors& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyMirrors) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyMirrors::IsInitialized() const { + return true; +} + +void VehicleBodyMirrors::InternalSwap(VehicleBodyMirrors* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyMirrors::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyMirrorsLeft::InitAsDefaultInstance() { +} +class VehicleBodyMirrorsLeft::_Internal { + public: +}; + +VehicleBodyMirrorsLeft::VehicleBodyMirrorsLeft() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyMirrorsLeft) +} +VehicleBodyMirrorsLeft::VehicleBodyMirrorsLeft(const VehicleBodyMirrorsLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&tilt_, &from.tilt_, + static_cast<size_t>(reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&tilt_)) + sizeof(isheatingon_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyMirrorsLeft) +} + +void VehicleBodyMirrorsLeft::SharedCtor() { + ::memset(&tilt_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&tilt_)) + sizeof(isheatingon_)); +} + +VehicleBodyMirrorsLeft::~VehicleBodyMirrorsLeft() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyMirrorsLeft) + SharedDtor(); +} + +void VehicleBodyMirrorsLeft::SharedDtor() { +} + +void VehicleBodyMirrorsLeft::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyMirrorsLeft& VehicleBodyMirrorsLeft::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyMirrorsLeft_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyMirrorsLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&tilt_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&tilt_)) + sizeof(isheatingon_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyMirrorsLeft::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int32 Tilt = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Pan = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + pan_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsHeatingOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyMirrorsLeft::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->tilt() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_tilt(), target); + } + + // int32 Pan = 2; + if (this->pan() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_pan(), target); + } + + // bool IsHeatingOn = 3; + if (this->isheatingon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isheatingon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyMirrorsLeft) + return target; +} + +size_t VehicleBodyMirrorsLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->tilt() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_tilt()); + } + + // int32 Pan = 2; + if (this->pan() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_pan()); + } + + // bool IsHeatingOn = 3; + if (this->isheatingon() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyMirrorsLeft::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyMirrorsLeft* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyMirrorsLeft>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyMirrorsLeft) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyMirrorsLeft) + MergeFrom(*source); + } +} + +void VehicleBodyMirrorsLeft::MergeFrom(const VehicleBodyMirrorsLeft& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.tilt() != 0) { + _internal_set_tilt(from._internal_tilt()); + } + if (from.pan() != 0) { + _internal_set_pan(from._internal_pan()); + } + if (from.isheatingon() != 0) { + _internal_set_isheatingon(from._internal_isheatingon()); + } +} + +void VehicleBodyMirrorsLeft::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyMirrorsLeft::CopyFrom(const VehicleBodyMirrorsLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyMirrorsLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyMirrorsLeft::IsInitialized() const { + return true; +} + +void VehicleBodyMirrorsLeft::InternalSwap(VehicleBodyMirrorsLeft* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(tilt_, other->tilt_); + swap(pan_, other->pan_); + swap(isheatingon_, other->isheatingon_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyMirrorsLeft::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleBodyMirrorsRight::InitAsDefaultInstance() { +} +class VehicleBodyMirrorsRight::_Internal { + public: +}; + +VehicleBodyMirrorsRight::VehicleBodyMirrorsRight() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleBodyMirrorsRight) +} +VehicleBodyMirrorsRight::VehicleBodyMirrorsRight(const VehicleBodyMirrorsRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&tilt_, &from.tilt_, + static_cast<size_t>(reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&tilt_)) + sizeof(isheatingon_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleBodyMirrorsRight) +} + +void VehicleBodyMirrorsRight::SharedCtor() { + ::memset(&tilt_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&tilt_)) + sizeof(isheatingon_)); +} + +VehicleBodyMirrorsRight::~VehicleBodyMirrorsRight() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleBodyMirrorsRight) + SharedDtor(); +} + +void VehicleBodyMirrorsRight::SharedDtor() { +} + +void VehicleBodyMirrorsRight::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleBodyMirrorsRight& VehicleBodyMirrorsRight::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleBodyMirrorsRight_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleBodyMirrorsRight::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleBodyMirrorsRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&tilt_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isheatingon_) - + reinterpret_cast<char*>(&tilt_)) + sizeof(isheatingon_)); + _internal_metadata_.Clear(); +} + +const char* VehicleBodyMirrorsRight::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int32 Tilt = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Pan = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + pan_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsHeatingOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isheatingon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleBodyMirrorsRight::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleBodyMirrorsRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->tilt() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_tilt(), target); + } + + // int32 Pan = 2; + if (this->pan() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_pan(), target); + } + + // bool IsHeatingOn = 3; + if (this->isheatingon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isheatingon(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleBodyMirrorsRight) + return target; +} + +size_t VehicleBodyMirrorsRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleBodyMirrorsRight) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int32 Tilt = 1; + if (this->tilt() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_tilt()); + } + + // int32 Pan = 2; + if (this->pan() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_pan()); + } + + // bool IsHeatingOn = 3; + if (this->isheatingon() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleBodyMirrorsRight::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleBodyMirrorsRight) + GOOGLE_DCHECK_NE(&from, this); + const VehicleBodyMirrorsRight* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleBodyMirrorsRight>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleBodyMirrorsRight) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleBodyMirrorsRight) + MergeFrom(*source); + } +} + +void VehicleBodyMirrorsRight::MergeFrom(const VehicleBodyMirrorsRight& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleBodyMirrorsRight) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.tilt() != 0) { + _internal_set_tilt(from._internal_tilt()); + } + if (from.pan() != 0) { + _internal_set_pan(from._internal_pan()); + } + if (from.isheatingon() != 0) { + _internal_set_isheatingon(from._internal_isheatingon()); + } +} + +void VehicleBodyMirrorsRight::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleBodyMirrorsRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleBodyMirrorsRight::CopyFrom(const VehicleBodyMirrorsRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleBodyMirrorsRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleBodyMirrorsRight::IsInitialized() const { + return true; +} + +void VehicleBodyMirrorsRight::InternalSwap(VehicleBodyMirrorsRight* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(tilt_, other->tilt_); + swap(pan_, other->pan_); + swap(isheatingon_, other->isheatingon_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleBodyMirrorsRight::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabin::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->rearshade_ = const_cast< ::com::vehicle::messages::VehicleCabinRearShade*>( + ::com::vehicle::messages::VehicleCabinRearShade::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->hvac_ = const_cast< ::com::vehicle::messages::VehicleCabinHVAC*>( + ::com::vehicle::messages::VehicleCabinHVAC::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->infotainment_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainment*>( + ::com::vehicle::messages::VehicleCabinInfotainment::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->sunroof_ = const_cast< ::com::vehicle::messages::VehicleCabinSunroof*>( + ::com::vehicle::messages::VehicleCabinSunroof::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->rearviewmirror_ = const_cast< ::com::vehicle::messages::VehicleCabinRearviewMirror*>( + ::com::vehicle::messages::VehicleCabinRearviewMirror::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->lights_ = const_cast< ::com::vehicle::messages::VehicleCabinLights*>( + ::com::vehicle::messages::VehicleCabinLights::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->door_ = const_cast< ::com::vehicle::messages::VehicleCabinDoor*>( + ::com::vehicle::messages::VehicleCabinDoor::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->seat_ = const_cast< ::com::vehicle::messages::VehicleCabinSeat*>( + ::com::vehicle::messages::VehicleCabinSeat::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabin_default_instance_._instance.get_mutable()->convertible_ = const_cast< ::com::vehicle::messages::VehicleCabinConvertible*>( + ::com::vehicle::messages::VehicleCabinConvertible::internal_default_instance()); +} +class VehicleCabin::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinRearShade& rearshade(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinHVAC& hvac(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinInfotainment& infotainment(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinSunroof& sunroof(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinRearviewMirror& rearviewmirror(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinLights& lights(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinDoor& door(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinSeat& seat(const VehicleCabin* msg); + static const ::com::vehicle::messages::VehicleCabinConvertible& convertible(const VehicleCabin* msg); +}; + +const ::com::vehicle::messages::VehicleCabinRearShade& +VehicleCabin::_Internal::rearshade(const VehicleCabin* msg) { + return *msg->rearshade_; +} +const ::com::vehicle::messages::VehicleCabinHVAC& +VehicleCabin::_Internal::hvac(const VehicleCabin* msg) { + return *msg->hvac_; +} +const ::com::vehicle::messages::VehicleCabinInfotainment& +VehicleCabin::_Internal::infotainment(const VehicleCabin* msg) { + return *msg->infotainment_; +} +const ::com::vehicle::messages::VehicleCabinSunroof& +VehicleCabin::_Internal::sunroof(const VehicleCabin* msg) { + return *msg->sunroof_; +} +const ::com::vehicle::messages::VehicleCabinRearviewMirror& +VehicleCabin::_Internal::rearviewmirror(const VehicleCabin* msg) { + return *msg->rearviewmirror_; +} +const ::com::vehicle::messages::VehicleCabinLights& +VehicleCabin::_Internal::lights(const VehicleCabin* msg) { + return *msg->lights_; +} +const ::com::vehicle::messages::VehicleCabinDoor& +VehicleCabin::_Internal::door(const VehicleCabin* msg) { + return *msg->door_; +} +const ::com::vehicle::messages::VehicleCabinSeat& +VehicleCabin::_Internal::seat(const VehicleCabin* msg) { + return *msg->seat_; +} +const ::com::vehicle::messages::VehicleCabinConvertible& +VehicleCabin::_Internal::convertible(const VehicleCabin* msg) { + return *msg->convertible_; +} +VehicleCabin::VehicleCabin() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabin) +} +VehicleCabin::VehicleCabin(const VehicleCabin& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + seatposcount_(from.seatposcount_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_rearshade()) { + rearshade_ = new ::com::vehicle::messages::VehicleCabinRearShade(*from.rearshade_); + } else { + rearshade_ = nullptr; + } + if (from._internal_has_hvac()) { + hvac_ = new ::com::vehicle::messages::VehicleCabinHVAC(*from.hvac_); + } else { + hvac_ = nullptr; + } + if (from._internal_has_infotainment()) { + infotainment_ = new ::com::vehicle::messages::VehicleCabinInfotainment(*from.infotainment_); + } else { + infotainment_ = nullptr; + } + if (from._internal_has_sunroof()) { + sunroof_ = new ::com::vehicle::messages::VehicleCabinSunroof(*from.sunroof_); + } else { + sunroof_ = nullptr; + } + if (from._internal_has_rearviewmirror()) { + rearviewmirror_ = new ::com::vehicle::messages::VehicleCabinRearviewMirror(*from.rearviewmirror_); + } else { + rearviewmirror_ = nullptr; + } + if (from._internal_has_lights()) { + lights_ = new ::com::vehicle::messages::VehicleCabinLights(*from.lights_); + } else { + lights_ = nullptr; + } + if (from._internal_has_door()) { + door_ = new ::com::vehicle::messages::VehicleCabinDoor(*from.door_); + } else { + door_ = nullptr; + } + if (from._internal_has_seat()) { + seat_ = new ::com::vehicle::messages::VehicleCabinSeat(*from.seat_); + } else { + seat_ = nullptr; + } + if (from._internal_has_convertible()) { + convertible_ = new ::com::vehicle::messages::VehicleCabinConvertible(*from.convertible_); + } else { + convertible_ = nullptr; + } + ::memcpy(&doorcount_, &from.doorcount_, + static_cast<size_t>(reinterpret_cast<char*>(&seatrowcount_) - + reinterpret_cast<char*>(&doorcount_)) + sizeof(seatrowcount_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabin) +} + +void VehicleCabin::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabin_V2C_2fvspec_2eproto.base); + ::memset(&rearshade_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&seatrowcount_) - + reinterpret_cast<char*>(&rearshade_)) + sizeof(seatrowcount_)); +} + +VehicleCabin::~VehicleCabin() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabin) + SharedDtor(); +} + +void VehicleCabin::SharedDtor() { + if (this != internal_default_instance()) delete rearshade_; + if (this != internal_default_instance()) delete hvac_; + if (this != internal_default_instance()) delete infotainment_; + if (this != internal_default_instance()) delete sunroof_; + if (this != internal_default_instance()) delete rearviewmirror_; + if (this != internal_default_instance()) delete lights_; + if (this != internal_default_instance()) delete door_; + if (this != internal_default_instance()) delete seat_; + if (this != internal_default_instance()) delete convertible_; +} + +void VehicleCabin::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabin& VehicleCabin::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabin_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabin::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabin) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + seatposcount_.Clear(); + if (GetArenaNoVirtual() == nullptr && rearshade_ != nullptr) { + delete rearshade_; + } + rearshade_ = nullptr; + if (GetArenaNoVirtual() == nullptr && hvac_ != nullptr) { + delete hvac_; + } + hvac_ = nullptr; + if (GetArenaNoVirtual() == nullptr && infotainment_ != nullptr) { + delete infotainment_; + } + infotainment_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sunroof_ != nullptr) { + delete sunroof_; + } + sunroof_ = nullptr; + if (GetArenaNoVirtual() == nullptr && rearviewmirror_ != nullptr) { + delete rearviewmirror_; + } + rearviewmirror_ = nullptr; + if (GetArenaNoVirtual() == nullptr && lights_ != nullptr) { + delete lights_; + } + lights_ = nullptr; + if (GetArenaNoVirtual() == nullptr && door_ != nullptr) { + delete door_; + } + door_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seat_ != nullptr) { + delete seat_; + } + seat_ = nullptr; + if (GetArenaNoVirtual() == nullptr && convertible_ != nullptr) { + delete convertible_; + } + convertible_ = nullptr; + ::memset(&doorcount_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&seatrowcount_) - + reinterpret_cast<char*>(&doorcount_)) + sizeof(seatrowcount_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabin::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinRearShade RearShade = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_rearshade(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVAC HVAC = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_hvac(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinInfotainment Infotainment = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_infotainment(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSunroof Sunroof = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sunroof(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinRearviewMirror RearviewMirror = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_rearviewmirror(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinLights Lights = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_lights(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoor Door = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_door(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 DoorCount = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + doorcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeat Seat = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_seat(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 DriverPosition = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 80)) { + driverposition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 SeatRowCount = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 88)) { + seatrowcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // repeated uint32 SeatPosCount = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt32Parser(_internal_mutable_seatposcount(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 96) { + _internal_add_seatposcount(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinConvertible Convertible = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_convertible(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabin::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabin) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinRearShade RearShade = 1; + if (this->has_rearshade()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::rearshade(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVAC HVAC = 2; + if (this->has_hvac()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::hvac(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinInfotainment Infotainment = 3; + if (this->has_infotainment()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::infotainment(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSunroof Sunroof = 4; + if (this->has_sunroof()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sunroof(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinRearviewMirror RearviewMirror = 5; + if (this->has_rearviewmirror()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::rearviewmirror(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinLights Lights = 6; + if (this->has_lights()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::lights(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinDoor Door = 7; + if (this->has_door()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::door(this), target, stream); + } + + // uint32 DoorCount = 8; + if (this->doorcount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(8, this->_internal_doorcount(), target); + } + + // .com.vehicle.messages.VehicleCabinSeat Seat = 9; + if (this->has_seat()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::seat(this), target, stream); + } + + // uint32 DriverPosition = 10; + if (this->driverposition() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(10, this->_internal_driverposition(), target); + } + + // uint32 SeatRowCount = 11; + if (this->seatrowcount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(11, this->_internal_seatrowcount(), target); + } + + // repeated uint32 SeatPosCount = 12; + { + int byte_size = _seatposcount_cached_byte_size_.load(std::memory_order_relaxed); + if (byte_size > 0) { + target = stream->WriteUInt32Packed( + 12, _internal_seatposcount(), byte_size, target); + } + } + + // .com.vehicle.messages.VehicleCabinConvertible Convertible = 13; + if (this->has_convertible()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::convertible(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabin) + return target; +} + +size_t VehicleCabin::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabin) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated uint32 SeatPosCount = 12; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt32Size(this->seatposcount_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _seatposcount_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // .com.vehicle.messages.VehicleCabinRearShade RearShade = 1; + if (this->has_rearshade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *rearshade_); + } + + // .com.vehicle.messages.VehicleCabinHVAC HVAC = 2; + if (this->has_hvac()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *hvac_); + } + + // .com.vehicle.messages.VehicleCabinInfotainment Infotainment = 3; + if (this->has_infotainment()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *infotainment_); + } + + // .com.vehicle.messages.VehicleCabinSunroof Sunroof = 4; + if (this->has_sunroof()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sunroof_); + } + + // .com.vehicle.messages.VehicleCabinRearviewMirror RearviewMirror = 5; + if (this->has_rearviewmirror()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *rearviewmirror_); + } + + // .com.vehicle.messages.VehicleCabinLights Lights = 6; + if (this->has_lights()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lights_); + } + + // .com.vehicle.messages.VehicleCabinDoor Door = 7; + if (this->has_door()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *door_); + } + + // .com.vehicle.messages.VehicleCabinSeat Seat = 9; + if (this->has_seat()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seat_); + } + + // .com.vehicle.messages.VehicleCabinConvertible Convertible = 13; + if (this->has_convertible()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *convertible_); + } + + // uint32 DoorCount = 8; + if (this->doorcount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_doorcount()); + } + + // uint32 DriverPosition = 10; + if (this->driverposition() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_driverposition()); + } + + // uint32 SeatRowCount = 11; + if (this->seatrowcount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_seatrowcount()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabin::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabin) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabin* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabin>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabin) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabin) + MergeFrom(*source); + } +} + +void VehicleCabin::MergeFrom(const VehicleCabin& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabin) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + seatposcount_.MergeFrom(from.seatposcount_); + if (from.has_rearshade()) { + _internal_mutable_rearshade()->::com::vehicle::messages::VehicleCabinRearShade::MergeFrom(from._internal_rearshade()); + } + if (from.has_hvac()) { + _internal_mutable_hvac()->::com::vehicle::messages::VehicleCabinHVAC::MergeFrom(from._internal_hvac()); + } + if (from.has_infotainment()) { + _internal_mutable_infotainment()->::com::vehicle::messages::VehicleCabinInfotainment::MergeFrom(from._internal_infotainment()); + } + if (from.has_sunroof()) { + _internal_mutable_sunroof()->::com::vehicle::messages::VehicleCabinSunroof::MergeFrom(from._internal_sunroof()); + } + if (from.has_rearviewmirror()) { + _internal_mutable_rearviewmirror()->::com::vehicle::messages::VehicleCabinRearviewMirror::MergeFrom(from._internal_rearviewmirror()); + } + if (from.has_lights()) { + _internal_mutable_lights()->::com::vehicle::messages::VehicleCabinLights::MergeFrom(from._internal_lights()); + } + if (from.has_door()) { + _internal_mutable_door()->::com::vehicle::messages::VehicleCabinDoor::MergeFrom(from._internal_door()); + } + if (from.has_seat()) { + _internal_mutable_seat()->::com::vehicle::messages::VehicleCabinSeat::MergeFrom(from._internal_seat()); + } + if (from.has_convertible()) { + _internal_mutable_convertible()->::com::vehicle::messages::VehicleCabinConvertible::MergeFrom(from._internal_convertible()); + } + if (from.doorcount() != 0) { + _internal_set_doorcount(from._internal_doorcount()); + } + if (from.driverposition() != 0) { + _internal_set_driverposition(from._internal_driverposition()); + } + if (from.seatrowcount() != 0) { + _internal_set_seatrowcount(from._internal_seatrowcount()); + } +} + +void VehicleCabin::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabin::CopyFrom(const VehicleCabin& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabin) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabin::IsInitialized() const { + return true; +} + +void VehicleCabin::InternalSwap(VehicleCabin* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + seatposcount_.InternalSwap(&other->seatposcount_); + swap(rearshade_, other->rearshade_); + swap(hvac_, other->hvac_); + swap(infotainment_, other->infotainment_); + swap(sunroof_, other->sunroof_); + swap(rearviewmirror_, other->rearviewmirror_); + swap(lights_, other->lights_); + swap(door_, other->door_); + swap(seat_, other->seat_); + swap(convertible_, other->convertible_); + swap(doorcount_, other->doorcount_); + swap(driverposition_, other->driverposition_); + swap(seatrowcount_, other->seatrowcount_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabin::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinRearShade::InitAsDefaultInstance() { +} +class VehicleCabinRearShade::_Internal { + public: +}; + +VehicleCabinRearShade::VehicleCabinRearShade() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinRearShade) +} +VehicleCabinRearShade::VehicleCabinRearShade(const VehicleCabinRearShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinRearShade) +} + +void VehicleCabinRearShade::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; +} + +VehicleCabinRearShade::~VehicleCabinRearShade() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinRearShade) + SharedDtor(); +} + +void VehicleCabinRearShade::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinRearShade::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinRearShade& VehicleCabinRearShade::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinRearShade_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinRearShade::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinRearShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinRearShade::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinRearShade.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinRearShade::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinRearShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinRearShade.Switch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_switch_(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinRearShade) + return target; +} + +size_t VehicleCabinRearShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinRearShade) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinRearShade::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinRearShade) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinRearShade* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinRearShade>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinRearShade) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinRearShade) + MergeFrom(*source); + } +} + +void VehicleCabinRearShade::MergeFrom(const VehicleCabinRearShade& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinRearShade) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinRearShade::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinRearShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinRearShade::CopyFrom(const VehicleCabinRearShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinRearShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinRearShade::IsInitialized() const { + return true; +} + +void VehicleCabinRearShade::InternalSwap(VehicleCabinRearShade* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinRearShade::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVAC::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinHVAC_default_instance_._instance.get_mutable()->station_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStation*>( + ::com::vehicle::messages::VehicleCabinHVACStation::internal_default_instance()); +} +class VehicleCabinHVAC::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinHVACStation& station(const VehicleCabinHVAC* msg); +}; + +const ::com::vehicle::messages::VehicleCabinHVACStation& +VehicleCabinHVAC::_Internal::station(const VehicleCabinHVAC* msg) { + return *msg->station_; +} +VehicleCabinHVAC::VehicleCabinHVAC() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVAC) +} +VehicleCabinHVAC::VehicleCabinHVAC(const VehicleCabinHVAC& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_station()) { + station_ = new ::com::vehicle::messages::VehicleCabinHVACStation(*from.station_); + } else { + station_ = nullptr; + } + ::memcpy(&isrecirculationactive_, &from.isrecirculationactive_, + static_cast<size_t>(reinterpret_cast<char*>(&ambientairtemperature_) - + reinterpret_cast<char*>(&isrecirculationactive_)) + sizeof(ambientairtemperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVAC) +} + +void VehicleCabinHVAC::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto.base); + ::memset(&station_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ambientairtemperature_) - + reinterpret_cast<char*>(&station_)) + sizeof(ambientairtemperature_)); +} + +VehicleCabinHVAC::~VehicleCabinHVAC() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVAC) + SharedDtor(); +} + +void VehicleCabinHVAC::SharedDtor() { + if (this != internal_default_instance()) delete station_; +} + +void VehicleCabinHVAC::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVAC& VehicleCabinHVAC::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVAC_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVAC::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVAC) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && station_ != nullptr) { + delete station_; + } + station_ = nullptr; + ::memset(&isrecirculationactive_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ambientairtemperature_) - + reinterpret_cast<char*>(&isrecirculationactive_)) + sizeof(ambientairtemperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVAC::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinHVACStation Station = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_station(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRecirculationActive = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isrecirculationactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsFrontDefrosterActive = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isfrontdefrosteractive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRearDefrosterActive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isreardefrosteractive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsAirConditioningActive = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isairconditioningactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float AmbientAirTemperature = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { + ambientairtemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVAC::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVAC) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStation Station = 1; + if (this->has_station()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::station(this), target, stream); + } + + // bool IsRecirculationActive = 2; + if (this->isrecirculationactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isrecirculationactive(), target); + } + + // bool IsFrontDefrosterActive = 3; + if (this->isfrontdefrosteractive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isfrontdefrosteractive(), target); + } + + // bool IsRearDefrosterActive = 4; + if (this->isreardefrosteractive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isreardefrosteractive(), target); + } + + // bool IsAirConditioningActive = 5; + if (this->isairconditioningactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isairconditioningactive(), target); + } + + // float AmbientAirTemperature = 6; + if (!(this->ambientairtemperature() <= 0 && this->ambientairtemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_ambientairtemperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVAC) + return target; +} + +size_t VehicleCabinHVAC::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVAC) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStation Station = 1; + if (this->has_station()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *station_); + } + + // bool IsRecirculationActive = 2; + if (this->isrecirculationactive() != 0) { + total_size += 1 + 1; + } + + // bool IsFrontDefrosterActive = 3; + if (this->isfrontdefrosteractive() != 0) { + total_size += 1 + 1; + } + + // bool IsRearDefrosterActive = 4; + if (this->isreardefrosteractive() != 0) { + total_size += 1 + 1; + } + + // bool IsAirConditioningActive = 5; + if (this->isairconditioningactive() != 0) { + total_size += 1 + 1; + } + + // float AmbientAirTemperature = 6; + if (!(this->ambientairtemperature() <= 0 && this->ambientairtemperature() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVAC::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVAC) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVAC* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVAC>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVAC) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVAC) + MergeFrom(*source); + } +} + +void VehicleCabinHVAC::MergeFrom(const VehicleCabinHVAC& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVAC) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_station()) { + _internal_mutable_station()->::com::vehicle::messages::VehicleCabinHVACStation::MergeFrom(from._internal_station()); + } + if (from.isrecirculationactive() != 0) { + _internal_set_isrecirculationactive(from._internal_isrecirculationactive()); + } + if (from.isfrontdefrosteractive() != 0) { + _internal_set_isfrontdefrosteractive(from._internal_isfrontdefrosteractive()); + } + if (from.isreardefrosteractive() != 0) { + _internal_set_isreardefrosteractive(from._internal_isreardefrosteractive()); + } + if (from.isairconditioningactive() != 0) { + _internal_set_isairconditioningactive(from._internal_isairconditioningactive()); + } + if (!(from.ambientairtemperature() <= 0 && from.ambientairtemperature() >= 0)) { + _internal_set_ambientairtemperature(from._internal_ambientairtemperature()); + } +} + +void VehicleCabinHVAC::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVAC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVAC::CopyFrom(const VehicleCabinHVAC& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVAC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVAC::IsInitialized() const { + return true; +} + +void VehicleCabinHVAC::InternalSwap(VehicleCabinHVAC* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(station_, other->station_); + swap(isrecirculationactive_, other->isrecirculationactive_); + swap(isfrontdefrosteractive_, other->isfrontdefrosteractive_); + swap(isreardefrosteractive_, other->isreardefrosteractive_); + swap(isairconditioningactive_, other->isairconditioningactive_); + swap(ambientairtemperature_, other->ambientairtemperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVAC::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStation::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinHVACStation_default_instance_._instance.get_mutable()->row1_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow1*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow1::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStation_default_instance_._instance.get_mutable()->row2_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow2*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow2::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStation_default_instance_._instance.get_mutable()->row3_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow3*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow3::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStation_default_instance_._instance.get_mutable()->row4_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow4*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow4::internal_default_instance()); +} +class VehicleCabinHVACStation::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinHVACStationRow1& row1(const VehicleCabinHVACStation* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow2& row2(const VehicleCabinHVACStation* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow3& row3(const VehicleCabinHVACStation* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow4& row4(const VehicleCabinHVACStation* msg); +}; + +const ::com::vehicle::messages::VehicleCabinHVACStationRow1& +VehicleCabinHVACStation::_Internal::row1(const VehicleCabinHVACStation* msg) { + return *msg->row1_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow2& +VehicleCabinHVACStation::_Internal::row2(const VehicleCabinHVACStation* msg) { + return *msg->row2_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow3& +VehicleCabinHVACStation::_Internal::row3(const VehicleCabinHVACStation* msg) { + return *msg->row3_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow4& +VehicleCabinHVACStation::_Internal::row4(const VehicleCabinHVACStation* msg) { + return *msg->row4_; +} +VehicleCabinHVACStation::VehicleCabinHVACStation() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStation) +} +VehicleCabinHVACStation::VehicleCabinHVACStation(const VehicleCabinHVACStation& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_row1()) { + row1_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow1(*from.row1_); + } else { + row1_ = nullptr; + } + if (from._internal_has_row2()) { + row2_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow2(*from.row2_); + } else { + row2_ = nullptr; + } + if (from._internal_has_row3()) { + row3_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow3(*from.row3_); + } else { + row3_ = nullptr; + } + if (from._internal_has_row4()) { + row4_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow4(*from.row4_); + } else { + row4_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStation) +} + +void VehicleCabinHVACStation::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto.base); + ::memset(&row1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&row4_) - + reinterpret_cast<char*>(&row1_)) + sizeof(row4_)); +} + +VehicleCabinHVACStation::~VehicleCabinHVACStation() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStation) + SharedDtor(); +} + +void VehicleCabinHVACStation::SharedDtor() { + if (this != internal_default_instance()) delete row1_; + if (this != internal_default_instance()) delete row2_; + if (this != internal_default_instance()) delete row3_; + if (this != internal_default_instance()) delete row4_; +} + +void VehicleCabinHVACStation::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStation& VehicleCabinHVACStation::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStation_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStation::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && row1_ != nullptr) { + delete row1_; + } + row1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row2_ != nullptr) { + delete row2_; + } + row2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row3_ != nullptr) { + delete row3_; + } + row3_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row4_ != nullptr) { + delete row4_; + } + row4_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinHVACStationRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow3 Row3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_row3(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow4 Row4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_row4(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStation::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow1 Row1 = 1; + if (this->has_row1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::row1(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow2 Row2 = 2; + if (this->has_row2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::row2(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow3 Row3 = 3; + if (this->has_row3()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::row3(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow4 Row4 = 4; + if (this->has_row4()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::row4(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStation) + return target; +} + +size_t VehicleCabinHVACStation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStation) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow1 Row1 = 1; + if (this->has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row1_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow2 Row2 = 2; + if (this->has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row2_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow3 Row3 = 3; + if (this->has_row3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row3_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow4 Row4 = 4; + if (this->has_row4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row4_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStation) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStation* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStation>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStation) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStation) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStation::MergeFrom(const VehicleCabinHVACStation& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStation) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_row1()) { + _internal_mutable_row1()->::com::vehicle::messages::VehicleCabinHVACStationRow1::MergeFrom(from._internal_row1()); + } + if (from.has_row2()) { + _internal_mutable_row2()->::com::vehicle::messages::VehicleCabinHVACStationRow2::MergeFrom(from._internal_row2()); + } + if (from.has_row3()) { + _internal_mutable_row3()->::com::vehicle::messages::VehicleCabinHVACStationRow3::MergeFrom(from._internal_row3()); + } + if (from.has_row4()) { + _internal_mutable_row4()->::com::vehicle::messages::VehicleCabinHVACStationRow4::MergeFrom(from._internal_row4()); + } +} + +void VehicleCabinHVACStation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStation::CopyFrom(const VehicleCabinHVACStation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStation::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStation::InternalSwap(VehicleCabinHVACStation* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(row1_, other->row1_); + swap(row2_, other->row2_); + swap(row3_, other->row3_); + swap(row4_, other->row4_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStation::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow1::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinHVACStationRow1_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow1Left*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow1Left::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStationRow1_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow1Right*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow1Right::internal_default_instance()); +} +class VehicleCabinHVACStationRow1::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinHVACStationRow1Left& left(const VehicleCabinHVACStationRow1* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow1Right& right(const VehicleCabinHVACStationRow1* msg); +}; + +const ::com::vehicle::messages::VehicleCabinHVACStationRow1Left& +VehicleCabinHVACStationRow1::_Internal::left(const VehicleCabinHVACStationRow1* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow1Right& +VehicleCabinHVACStationRow1::_Internal::right(const VehicleCabinHVACStationRow1* msg) { + return *msg->right_; +} +VehicleCabinHVACStationRow1::VehicleCabinHVACStationRow1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow1) +} +VehicleCabinHVACStationRow1::VehicleCabinHVACStationRow1(const VehicleCabinHVACStationRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow1Left(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow1Right(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow1) +} + +void VehicleCabinHVACStationRow1::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleCabinHVACStationRow1::~VehicleCabinHVACStationRow1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow1) + SharedDtor(); +} + +void VehicleCabinHVACStationRow1::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleCabinHVACStationRow1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow1& VehicleCabinHVACStationRow1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinHVACStationRow1Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow1Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow1Left Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow1Right Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow1) + return target; +} + +size_t VehicleCabinHVACStationRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow1Left Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow1Right Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow1) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow1::MergeFrom(const VehicleCabinHVACStationRow1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleCabinHVACStationRow1Left::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleCabinHVACStationRow1Right::MergeFrom(from._internal_right()); + } +} + +void VehicleCabinHVACStationRow1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow1::CopyFrom(const VehicleCabinHVACStationRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow1::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow1::InternalSwap(VehicleCabinHVACStationRow1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow1Left::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow1Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow1Left::VehicleCabinHVACStationRow1Left() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow1Left) +} +VehicleCabinHVACStationRow1Left::VehicleCabinHVACStationRow1Left(const VehicleCabinHVACStationRow1Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow1Left) +} + +void VehicleCabinHVACStationRow1Left::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow1Left::~VehicleCabinHVACStationRow1Left() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + SharedDtor(); +} + +void VehicleCabinHVACStationRow1Left::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow1Left::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow1Left& VehicleCabinHVACStationRow1Left::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow1Left_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow1Left::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow1Left::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow1Left.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow1Left::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow1Left.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + return target; +} + +size_t VehicleCabinHVACStationRow1Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow1Left::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow1Left* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow1Left>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow1Left::MergeFrom(const VehicleCabinHVACStationRow1Left& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow1Left::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow1Left::CopyFrom(const VehicleCabinHVACStationRow1Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow1Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow1Left::InternalSwap(VehicleCabinHVACStationRow1Left* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow1Left::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow1Right::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow1Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow1Right::VehicleCabinHVACStationRow1Right() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow1Right) +} +VehicleCabinHVACStationRow1Right::VehicleCabinHVACStationRow1Right(const VehicleCabinHVACStationRow1Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow1Right) +} + +void VehicleCabinHVACStationRow1Right::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow1Right::~VehicleCabinHVACStationRow1Right() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + SharedDtor(); +} + +void VehicleCabinHVACStationRow1Right::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow1Right::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow1Right& VehicleCabinHVACStationRow1Right::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow1Right_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow1Right::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow1Right::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow1Right.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow1Right::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow1Right.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + return target; +} + +size_t VehicleCabinHVACStationRow1Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow1Right::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow1Right* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow1Right>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow1Right::MergeFrom(const VehicleCabinHVACStationRow1Right& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow1Right::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow1Right::CopyFrom(const VehicleCabinHVACStationRow1Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow1Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow1Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow1Right::InternalSwap(VehicleCabinHVACStationRow1Right* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow1Right::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinHVACStationRow2_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow2Left*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow2Left::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStationRow2_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow2Right*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow2Right::internal_default_instance()); +} +class VehicleCabinHVACStationRow2::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinHVACStationRow2Left& left(const VehicleCabinHVACStationRow2* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow2Right& right(const VehicleCabinHVACStationRow2* msg); +}; + +const ::com::vehicle::messages::VehicleCabinHVACStationRow2Left& +VehicleCabinHVACStationRow2::_Internal::left(const VehicleCabinHVACStationRow2* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow2Right& +VehicleCabinHVACStationRow2::_Internal::right(const VehicleCabinHVACStationRow2* msg) { + return *msg->right_; +} +VehicleCabinHVACStationRow2::VehicleCabinHVACStationRow2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow2) +} +VehicleCabinHVACStationRow2::VehicleCabinHVACStationRow2(const VehicleCabinHVACStationRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow2Left(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow2Right(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow2) +} + +void VehicleCabinHVACStationRow2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleCabinHVACStationRow2::~VehicleCabinHVACStationRow2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow2) + SharedDtor(); +} + +void VehicleCabinHVACStationRow2::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleCabinHVACStationRow2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow2& VehicleCabinHVACStationRow2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinHVACStationRow2Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow2Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow2Left Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow2Right Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow2) + return target; +} + +size_t VehicleCabinHVACStationRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow2Left Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow2Right Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow2) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow2::MergeFrom(const VehicleCabinHVACStationRow2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleCabinHVACStationRow2Left::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleCabinHVACStationRow2Right::MergeFrom(from._internal_right()); + } +} + +void VehicleCabinHVACStationRow2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow2::CopyFrom(const VehicleCabinHVACStationRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow2::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow2::InternalSwap(VehicleCabinHVACStationRow2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow2Left::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow2Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow2Left::VehicleCabinHVACStationRow2Left() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow2Left) +} +VehicleCabinHVACStationRow2Left::VehicleCabinHVACStationRow2Left(const VehicleCabinHVACStationRow2Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow2Left) +} + +void VehicleCabinHVACStationRow2Left::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow2Left::~VehicleCabinHVACStationRow2Left() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + SharedDtor(); +} + +void VehicleCabinHVACStationRow2Left::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow2Left::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow2Left& VehicleCabinHVACStationRow2Left::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow2Left_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow2Left::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow2Left::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow2Left.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow2Left::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow2Left.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + return target; +} + +size_t VehicleCabinHVACStationRow2Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow2Left::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow2Left* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow2Left>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow2Left::MergeFrom(const VehicleCabinHVACStationRow2Left& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow2Left::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow2Left::CopyFrom(const VehicleCabinHVACStationRow2Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow2Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow2Left::InternalSwap(VehicleCabinHVACStationRow2Left* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow2Left::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow2Right::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow2Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow2Right::VehicleCabinHVACStationRow2Right() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow2Right) +} +VehicleCabinHVACStationRow2Right::VehicleCabinHVACStationRow2Right(const VehicleCabinHVACStationRow2Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow2Right) +} + +void VehicleCabinHVACStationRow2Right::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow2Right::~VehicleCabinHVACStationRow2Right() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + SharedDtor(); +} + +void VehicleCabinHVACStationRow2Right::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow2Right::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow2Right& VehicleCabinHVACStationRow2Right::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow2Right_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow2Right::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow2Right::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow2Right.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow2Right::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow2Right.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + return target; +} + +size_t VehicleCabinHVACStationRow2Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow2Right::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow2Right* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow2Right>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow2Right::MergeFrom(const VehicleCabinHVACStationRow2Right& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow2Right::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow2Right::CopyFrom(const VehicleCabinHVACStationRow2Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow2Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow2Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow2Right::InternalSwap(VehicleCabinHVACStationRow2Right* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow2Right::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow3::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinHVACStationRow3_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow3Left*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow3Left::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStationRow3_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow3Right*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow3Right::internal_default_instance()); +} +class VehicleCabinHVACStationRow3::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinHVACStationRow3Left& left(const VehicleCabinHVACStationRow3* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow3Right& right(const VehicleCabinHVACStationRow3* msg); +}; + +const ::com::vehicle::messages::VehicleCabinHVACStationRow3Left& +VehicleCabinHVACStationRow3::_Internal::left(const VehicleCabinHVACStationRow3* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow3Right& +VehicleCabinHVACStationRow3::_Internal::right(const VehicleCabinHVACStationRow3* msg) { + return *msg->right_; +} +VehicleCabinHVACStationRow3::VehicleCabinHVACStationRow3() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow3) +} +VehicleCabinHVACStationRow3::VehicleCabinHVACStationRow3(const VehicleCabinHVACStationRow3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow3Left(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow3Right(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow3) +} + +void VehicleCabinHVACStationRow3::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleCabinHVACStationRow3::~VehicleCabinHVACStationRow3() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow3) + SharedDtor(); +} + +void VehicleCabinHVACStationRow3::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleCabinHVACStationRow3::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow3& VehicleCabinHVACStationRow3::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow3_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow3::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow3::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinHVACStationRow3Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow3Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow3::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow3Left Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow3Right Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow3) + return target; +} + +size_t VehicleCabinHVACStationRow3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow3Left Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow3Right Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow3::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow3* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow3>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow3) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow3) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow3::MergeFrom(const VehicleCabinHVACStationRow3& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleCabinHVACStationRow3Left::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleCabinHVACStationRow3Right::MergeFrom(from._internal_right()); + } +} + +void VehicleCabinHVACStationRow3::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow3::CopyFrom(const VehicleCabinHVACStationRow3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow3::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow3::InternalSwap(VehicleCabinHVACStationRow3* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow3::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow3Left::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow3Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow3Left::VehicleCabinHVACStationRow3Left() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow3Left) +} +VehicleCabinHVACStationRow3Left::VehicleCabinHVACStationRow3Left(const VehicleCabinHVACStationRow3Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow3Left) +} + +void VehicleCabinHVACStationRow3Left::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow3Left::~VehicleCabinHVACStationRow3Left() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + SharedDtor(); +} + +void VehicleCabinHVACStationRow3Left::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow3Left::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow3Left& VehicleCabinHVACStationRow3Left::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow3Left_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow3Left::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow3Left::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow3Left.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow3Left::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow3Left.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + return target; +} + +size_t VehicleCabinHVACStationRow3Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow3Left::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow3Left* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow3Left>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow3Left::MergeFrom(const VehicleCabinHVACStationRow3Left& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow3Left::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow3Left::CopyFrom(const VehicleCabinHVACStationRow3Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow3Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow3Left::InternalSwap(VehicleCabinHVACStationRow3Left* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow3Left::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow3Right::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow3Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow3Right::VehicleCabinHVACStationRow3Right() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow3Right) +} +VehicleCabinHVACStationRow3Right::VehicleCabinHVACStationRow3Right(const VehicleCabinHVACStationRow3Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow3Right) +} + +void VehicleCabinHVACStationRow3Right::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow3Right::~VehicleCabinHVACStationRow3Right() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + SharedDtor(); +} + +void VehicleCabinHVACStationRow3Right::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow3Right::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow3Right& VehicleCabinHVACStationRow3Right::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow3Right_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow3Right::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow3Right::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow3Right.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow3Right::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow3Right.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + return target; +} + +size_t VehicleCabinHVACStationRow3Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow3Right::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow3Right* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow3Right>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow3Right::MergeFrom(const VehicleCabinHVACStationRow3Right& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow3Right::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow3Right::CopyFrom(const VehicleCabinHVACStationRow3Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow3Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow3Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow3Right::InternalSwap(VehicleCabinHVACStationRow3Right* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow3Right::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow4::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinHVACStationRow4_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow4Left*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow4Left::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinHVACStationRow4_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleCabinHVACStationRow4Right*>( + ::com::vehicle::messages::VehicleCabinHVACStationRow4Right::internal_default_instance()); +} +class VehicleCabinHVACStationRow4::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinHVACStationRow4Left& left(const VehicleCabinHVACStationRow4* msg); + static const ::com::vehicle::messages::VehicleCabinHVACStationRow4Right& right(const VehicleCabinHVACStationRow4* msg); +}; + +const ::com::vehicle::messages::VehicleCabinHVACStationRow4Left& +VehicleCabinHVACStationRow4::_Internal::left(const VehicleCabinHVACStationRow4* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleCabinHVACStationRow4Right& +VehicleCabinHVACStationRow4::_Internal::right(const VehicleCabinHVACStationRow4* msg) { + return *msg->right_; +} +VehicleCabinHVACStationRow4::VehicleCabinHVACStationRow4() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow4) +} +VehicleCabinHVACStationRow4::VehicleCabinHVACStationRow4(const VehicleCabinHVACStationRow4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow4Left(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleCabinHVACStationRow4Right(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow4) +} + +void VehicleCabinHVACStationRow4::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleCabinHVACStationRow4::~VehicleCabinHVACStationRow4() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow4) + SharedDtor(); +} + +void VehicleCabinHVACStationRow4::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleCabinHVACStationRow4::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow4& VehicleCabinHVACStationRow4::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow4_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow4::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow4::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinHVACStationRow4Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinHVACStationRow4Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow4::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow4Left Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow4Right Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow4) + return target; +} + +size_t VehicleCabinHVACStationRow4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinHVACStationRow4Left Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleCabinHVACStationRow4Right Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow4::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow4* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow4>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow4) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow4) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow4::MergeFrom(const VehicleCabinHVACStationRow4& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleCabinHVACStationRow4Left::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleCabinHVACStationRow4Right::MergeFrom(from._internal_right()); + } +} + +void VehicleCabinHVACStationRow4::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow4::CopyFrom(const VehicleCabinHVACStationRow4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow4::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow4::InternalSwap(VehicleCabinHVACStationRow4* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow4::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow4Left::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow4Left::_Internal { + public: +}; + +VehicleCabinHVACStationRow4Left::VehicleCabinHVACStationRow4Left() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow4Left) +} +VehicleCabinHVACStationRow4Left::VehicleCabinHVACStationRow4Left(const VehicleCabinHVACStationRow4Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow4Left) +} + +void VehicleCabinHVACStationRow4Left::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow4Left::~VehicleCabinHVACStationRow4Left() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + SharedDtor(); +} + +void VehicleCabinHVACStationRow4Left::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow4Left::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow4Left& VehicleCabinHVACStationRow4Left::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow4Left_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow4Left::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow4Left::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow4Left.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow4Left::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow4Left.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + return target; +} + +size_t VehicleCabinHVACStationRow4Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow4Left::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow4Left* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow4Left>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow4Left::MergeFrom(const VehicleCabinHVACStationRow4Left& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow4Left::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow4Left::CopyFrom(const VehicleCabinHVACStationRow4Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow4Left::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow4Left::InternalSwap(VehicleCabinHVACStationRow4Left* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow4Left::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinHVACStationRow4Right::InitAsDefaultInstance() { +} +class VehicleCabinHVACStationRow4Right::_Internal { + public: +}; + +VehicleCabinHVACStationRow4Right::VehicleCabinHVACStationRow4Right() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinHVACStationRow4Right) +} +VehicleCabinHVACStationRow4Right::VehicleCabinHVACStationRow4Right(const VehicleCabinHVACStationRow4Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airdistribution().empty()) { + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + ::memcpy(&fanspeed_, &from.fanspeed_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinHVACStationRow4Right) +} + +void VehicleCabinHVACStationRow4Right::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto.base); + airdistribution_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); +} + +VehicleCabinHVACStationRow4Right::~VehicleCabinHVACStationRow4Right() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + SharedDtor(); +} + +void VehicleCabinHVACStationRow4Right::SharedDtor() { + airdistribution_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinHVACStationRow4Right::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinHVACStationRow4Right& VehicleCabinHVACStationRow4Right::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinHVACStationRow4Right_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinHVACStationRow4Right::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + airdistribution_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&fanspeed_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&fanspeed_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinHVACStationRow4Right::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FanSpeed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fanspeed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Temperature = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string AirDistribution = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airdistribution(), ptr, ctx, "com.vehicle.messages.VehicleCabinHVACStationRow4Right.AirDistribution"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinHVACStationRow4Right::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fanspeed(), target); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(2, this->_internal_temperature(), target); + } + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airdistribution().data(), static_cast<int>(this->_internal_airdistribution().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinHVACStationRow4Right.AirDistribution"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_airdistribution(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + return target; +} + +size_t VehicleCabinHVACStationRow4Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string AirDistribution = 3; + if (this->airdistribution().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airdistribution()); + } + + // uint32 FanSpeed = 1; + if (this->fanspeed() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fanspeed()); + } + + // int32 Temperature = 2; + if (this->temperature() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_temperature()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinHVACStationRow4Right::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinHVACStationRow4Right* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinHVACStationRow4Right>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + MergeFrom(*source); + } +} + +void VehicleCabinHVACStationRow4Right::MergeFrom(const VehicleCabinHVACStationRow4Right& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.airdistribution().size() > 0) { + + airdistribution_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airdistribution_); + } + if (from.fanspeed() != 0) { + _internal_set_fanspeed(from._internal_fanspeed()); + } + if (from.temperature() != 0) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleCabinHVACStationRow4Right::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinHVACStationRow4Right::CopyFrom(const VehicleCabinHVACStationRow4Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinHVACStationRow4Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinHVACStationRow4Right::IsInitialized() const { + return true; +} + +void VehicleCabinHVACStationRow4Right::InternalSwap(VehicleCabinHVACStationRow4Right* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + airdistribution_.Swap(&other->airdistribution_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(fanspeed_, other->fanspeed_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinHVACStationRow4Right::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainment::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinInfotainment_default_instance_._instance.get_mutable()->media_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainmentMedia*>( + ::com::vehicle::messages::VehicleCabinInfotainmentMedia::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinInfotainment_default_instance_._instance.get_mutable()->navigation_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainmentNavigation*>( + ::com::vehicle::messages::VehicleCabinInfotainmentNavigation::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinInfotainment_default_instance_._instance.get_mutable()->hmi_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainmentHMI*>( + ::com::vehicle::messages::VehicleCabinInfotainmentHMI::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinInfotainment_default_instance_._instance.get_mutable()->smartphoneprojection_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection*>( + ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection::internal_default_instance()); +} +class VehicleCabinInfotainment::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinInfotainmentMedia& media(const VehicleCabinInfotainment* msg); + static const ::com::vehicle::messages::VehicleCabinInfotainmentNavigation& navigation(const VehicleCabinInfotainment* msg); + static const ::com::vehicle::messages::VehicleCabinInfotainmentHMI& hmi(const VehicleCabinInfotainment* msg); + static const ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection& smartphoneprojection(const VehicleCabinInfotainment* msg); +}; + +const ::com::vehicle::messages::VehicleCabinInfotainmentMedia& +VehicleCabinInfotainment::_Internal::media(const VehicleCabinInfotainment* msg) { + return *msg->media_; +} +const ::com::vehicle::messages::VehicleCabinInfotainmentNavigation& +VehicleCabinInfotainment::_Internal::navigation(const VehicleCabinInfotainment* msg) { + return *msg->navigation_; +} +const ::com::vehicle::messages::VehicleCabinInfotainmentHMI& +VehicleCabinInfotainment::_Internal::hmi(const VehicleCabinInfotainment* msg) { + return *msg->hmi_; +} +const ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection& +VehicleCabinInfotainment::_Internal::smartphoneprojection(const VehicleCabinInfotainment* msg) { + return *msg->smartphoneprojection_; +} +VehicleCabinInfotainment::VehicleCabinInfotainment() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainment) +} +VehicleCabinInfotainment::VehicleCabinInfotainment(const VehicleCabinInfotainment& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_media()) { + media_ = new ::com::vehicle::messages::VehicleCabinInfotainmentMedia(*from.media_); + } else { + media_ = nullptr; + } + if (from._internal_has_navigation()) { + navigation_ = new ::com::vehicle::messages::VehicleCabinInfotainmentNavigation(*from.navigation_); + } else { + navigation_ = nullptr; + } + if (from._internal_has_hmi()) { + hmi_ = new ::com::vehicle::messages::VehicleCabinInfotainmentHMI(*from.hmi_); + } else { + hmi_ = nullptr; + } + if (from._internal_has_smartphoneprojection()) { + smartphoneprojection_ = new ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection(*from.smartphoneprojection_); + } else { + smartphoneprojection_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainment) +} + +void VehicleCabinInfotainment::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto.base); + ::memset(&media_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&smartphoneprojection_) - + reinterpret_cast<char*>(&media_)) + sizeof(smartphoneprojection_)); +} + +VehicleCabinInfotainment::~VehicleCabinInfotainment() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainment) + SharedDtor(); +} + +void VehicleCabinInfotainment::SharedDtor() { + if (this != internal_default_instance()) delete media_; + if (this != internal_default_instance()) delete navigation_; + if (this != internal_default_instance()) delete hmi_; + if (this != internal_default_instance()) delete smartphoneprojection_; +} + +void VehicleCabinInfotainment::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainment& VehicleCabinInfotainment::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainment_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainment::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainment) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && media_ != nullptr) { + delete media_; + } + media_ = nullptr; + if (GetArenaNoVirtual() == nullptr && navigation_ != nullptr) { + delete navigation_; + } + navigation_ = nullptr; + if (GetArenaNoVirtual() == nullptr && hmi_ != nullptr) { + delete hmi_; + } + hmi_ = nullptr; + if (GetArenaNoVirtual() == nullptr && smartphoneprojection_ != nullptr) { + delete smartphoneprojection_; + } + smartphoneprojection_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainment::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinInfotainmentMedia Media = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_media(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinInfotainmentNavigation Navigation = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_navigation(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinInfotainmentHMI HMI = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_hmi(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection SmartphoneProjection = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_smartphoneprojection(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainment::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainment) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinInfotainmentMedia Media = 1; + if (this->has_media()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::media(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentNavigation Navigation = 2; + if (this->has_navigation()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::navigation(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentHMI HMI = 3; + if (this->has_hmi()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::hmi(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection SmartphoneProjection = 4; + if (this->has_smartphoneprojection()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::smartphoneprojection(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainment) + return target; +} + +size_t VehicleCabinInfotainment::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainment) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinInfotainmentMedia Media = 1; + if (this->has_media()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *media_); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentNavigation Navigation = 2; + if (this->has_navigation()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *navigation_); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentHMI HMI = 3; + if (this->has_hmi()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *hmi_); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection SmartphoneProjection = 4; + if (this->has_smartphoneprojection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *smartphoneprojection_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainment::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainment) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainment* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainment>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainment) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainment) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainment::MergeFrom(const VehicleCabinInfotainment& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainment) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_media()) { + _internal_mutable_media()->::com::vehicle::messages::VehicleCabinInfotainmentMedia::MergeFrom(from._internal_media()); + } + if (from.has_navigation()) { + _internal_mutable_navigation()->::com::vehicle::messages::VehicleCabinInfotainmentNavigation::MergeFrom(from._internal_navigation()); + } + if (from.has_hmi()) { + _internal_mutable_hmi()->::com::vehicle::messages::VehicleCabinInfotainmentHMI::MergeFrom(from._internal_hmi()); + } + if (from.has_smartphoneprojection()) { + _internal_mutable_smartphoneprojection()->::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection::MergeFrom(from._internal_smartphoneprojection()); + } +} + +void VehicleCabinInfotainment::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainment::CopyFrom(const VehicleCabinInfotainment& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainment) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainment::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainment::InternalSwap(VehicleCabinInfotainment* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(media_, other->media_); + swap(navigation_, other->navigation_); + swap(hmi_, other->hmi_); + swap(smartphoneprojection_, other->smartphoneprojection_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainment::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainmentMedia::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinInfotainmentMedia_default_instance_._instance.get_mutable()->played_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed*>( + ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed::internal_default_instance()); +} +class VehicleCabinInfotainmentMedia::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed& played(const VehicleCabinInfotainmentMedia* msg); +}; + +const ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed& +VehicleCabinInfotainmentMedia::_Internal::played(const VehicleCabinInfotainmentMedia* msg) { + return *msg->played_; +} +VehicleCabinInfotainmentMedia::VehicleCabinInfotainmentMedia() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainmentMedia) +} +VehicleCabinInfotainmentMedia::VehicleCabinInfotainmentMedia(const VehicleCabinInfotainmentMedia& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + action_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_action().empty()) { + action_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.action_); + } + declineduri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_declineduri().empty()) { + declineduri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.declineduri_); + } + selecteduri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_selecteduri().empty()) { + selecteduri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.selecteduri_); + } + if (from._internal_has_played()) { + played_ = new ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed(*from.played_); + } else { + played_ = nullptr; + } + volume_ = from.volume_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainmentMedia) +} + +void VehicleCabinInfotainmentMedia::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto.base); + action_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + declineduri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + selecteduri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&played_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&volume_) - + reinterpret_cast<char*>(&played_)) + sizeof(volume_)); +} + +VehicleCabinInfotainmentMedia::~VehicleCabinInfotainmentMedia() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainmentMedia) + SharedDtor(); +} + +void VehicleCabinInfotainmentMedia::SharedDtor() { + action_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + declineduri_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + selecteduri_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete played_; +} + +void VehicleCabinInfotainmentMedia::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainmentMedia& VehicleCabinInfotainmentMedia::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainmentMedia_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainmentMedia::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + action_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + declineduri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + selecteduri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && played_ != nullptr) { + delete played_; + } + played_ = nullptr; + volume_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainmentMedia::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Action = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_action(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMedia.Action"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed Played = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_played(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string DeclinedURI = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_declineduri(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMedia.DeclinedURI"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string SelectedURI = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_selecteduri(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMedia.SelectedURI"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Volume = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + volume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainmentMedia::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Action = 1; + if (this->action().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_action().data(), static_cast<int>(this->_internal_action().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMedia.Action"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_action(), target); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed Played = 2; + if (this->has_played()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::played(this), target, stream); + } + + // string DeclinedURI = 3; + if (this->declineduri().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_declineduri().data(), static_cast<int>(this->_internal_declineduri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMedia.DeclinedURI"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_declineduri(), target); + } + + // string SelectedURI = 4; + if (this->selecteduri().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_selecteduri().data(), static_cast<int>(this->_internal_selecteduri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMedia.SelectedURI"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_selecteduri(), target); + } + + // uint32 Volume = 5; + if (this->volume() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_volume(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainmentMedia) + return target; +} + +size_t VehicleCabinInfotainmentMedia::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Action = 1; + if (this->action().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_action()); + } + + // string DeclinedURI = 3; + if (this->declineduri().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_declineduri()); + } + + // string SelectedURI = 4; + if (this->selecteduri().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_selecteduri()); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed Played = 2; + if (this->has_played()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *played_); + } + + // uint32 Volume = 5; + if (this->volume() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_volume()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainmentMedia::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainmentMedia* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainmentMedia>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainmentMedia) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainmentMedia) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainmentMedia::MergeFrom(const VehicleCabinInfotainmentMedia& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.action().size() > 0) { + + action_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.action_); + } + if (from.declineduri().size() > 0) { + + declineduri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.declineduri_); + } + if (from.selecteduri().size() > 0) { + + selecteduri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.selecteduri_); + } + if (from.has_played()) { + _internal_mutable_played()->::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed::MergeFrom(from._internal_played()); + } + if (from.volume() != 0) { + _internal_set_volume(from._internal_volume()); + } +} + +void VehicleCabinInfotainmentMedia::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainmentMedia::CopyFrom(const VehicleCabinInfotainmentMedia& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentMedia) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentMedia::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentMedia::InternalSwap(VehicleCabinInfotainmentMedia* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + action_.Swap(&other->action_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + declineduri_.Swap(&other->declineduri_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + selecteduri_.Swap(&other->selecteduri_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(played_, other->played_); + swap(volume_, other->volume_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentMedia::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainmentMediaPlayed::InitAsDefaultInstance() { +} +class VehicleCabinInfotainmentMediaPlayed::_Internal { + public: +}; + +VehicleCabinInfotainmentMediaPlayed::VehicleCabinInfotainmentMediaPlayed() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) +} +VehicleCabinInfotainmentMediaPlayed::VehicleCabinInfotainmentMediaPlayed(const VehicleCabinInfotainmentMediaPlayed& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + source_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_source().empty()) { + source_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.source_); + } + artist_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_artist().empty()) { + artist_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.artist_); + } + album_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_album().empty()) { + album_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.album_); + } + track_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_track().empty()) { + track_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.track_); + } + uri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_uri().empty()) { + uri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uri_); + } + playbackrate_ = from.playbackrate_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) +} + +void VehicleCabinInfotainmentMediaPlayed::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto.base); + source_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + artist_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + album_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + track_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + uri_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + playbackrate_ = 0; +} + +VehicleCabinInfotainmentMediaPlayed::~VehicleCabinInfotainmentMediaPlayed() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + SharedDtor(); +} + +void VehicleCabinInfotainmentMediaPlayed::SharedDtor() { + source_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + artist_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + album_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + track_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + uri_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinInfotainmentMediaPlayed::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainmentMediaPlayed& VehicleCabinInfotainmentMediaPlayed::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainmentMediaPlayed_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainmentMediaPlayed::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + source_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + artist_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + album_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + track_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + uri_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + playbackrate_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainmentMediaPlayed::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Source = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_source(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Source"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Artist = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_artist(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Artist"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Album = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_album(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Album"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Track = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_track(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Track"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string URI = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_uri(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.URI"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float PlaybackRate = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { + playbackrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainmentMediaPlayed::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Source = 1; + if (this->source().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_source().data(), static_cast<int>(this->_internal_source().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Source"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_source(), target); + } + + // string Artist = 2; + if (this->artist().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_artist().data(), static_cast<int>(this->_internal_artist().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Artist"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_artist(), target); + } + + // string Album = 3; + if (this->album().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_album().data(), static_cast<int>(this->_internal_album().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Album"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_album(), target); + } + + // string Track = 4; + if (this->track().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_track().data(), static_cast<int>(this->_internal_track().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.Track"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_track(), target); + } + + // string URI = 5; + if (this->uri().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_uri().data(), static_cast<int>(this->_internal_uri().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed.URI"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_uri(), target); + } + + // float PlaybackRate = 6; + if (!(this->playbackrate() <= 0 && this->playbackrate() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_playbackrate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + return target; +} + +size_t VehicleCabinInfotainmentMediaPlayed::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Source = 1; + if (this->source().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_source()); + } + + // string Artist = 2; + if (this->artist().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_artist()); + } + + // string Album = 3; + if (this->album().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_album()); + } + + // string Track = 4; + if (this->track().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_track()); + } + + // string URI = 5; + if (this->uri().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_uri()); + } + + // float PlaybackRate = 6; + if (!(this->playbackrate() <= 0 && this->playbackrate() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainmentMediaPlayed::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainmentMediaPlayed* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainmentMediaPlayed>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainmentMediaPlayed::MergeFrom(const VehicleCabinInfotainmentMediaPlayed& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.source().size() > 0) { + + source_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.source_); + } + if (from.artist().size() > 0) { + + artist_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.artist_); + } + if (from.album().size() > 0) { + + album_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.album_); + } + if (from.track().size() > 0) { + + track_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.track_); + } + if (from.uri().size() > 0) { + + uri_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.uri_); + } + if (!(from.playbackrate() <= 0 && from.playbackrate() >= 0)) { + _internal_set_playbackrate(from._internal_playbackrate()); + } +} + +void VehicleCabinInfotainmentMediaPlayed::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainmentMediaPlayed::CopyFrom(const VehicleCabinInfotainmentMediaPlayed& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentMediaPlayed) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentMediaPlayed::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentMediaPlayed::InternalSwap(VehicleCabinInfotainmentMediaPlayed* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + source_.Swap(&other->source_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + artist_.Swap(&other->artist_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + album_.Swap(&other->album_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + track_.Swap(&other->track_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + uri_.Swap(&other->uri_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(playbackrate_, other->playbackrate_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentMediaPlayed::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainmentNavigation::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinInfotainmentNavigation_default_instance_._instance.get_mutable()->destinationset_ = const_cast< ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet*>( + ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet::internal_default_instance()); +} +class VehicleCabinInfotainmentNavigation::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet& destinationset(const VehicleCabinInfotainmentNavigation* msg); +}; + +const ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet& +VehicleCabinInfotainmentNavigation::_Internal::destinationset(const VehicleCabinInfotainmentNavigation* msg) { + return *msg->destinationset_; +} +VehicleCabinInfotainmentNavigation::VehicleCabinInfotainmentNavigation() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainmentNavigation) +} +VehicleCabinInfotainmentNavigation::VehicleCabinInfotainmentNavigation(const VehicleCabinInfotainmentNavigation& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + mute_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_mute().empty()) { + mute_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mute_); + } + if (from._internal_has_destinationset()) { + destinationset_ = new ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet(*from.destinationset_); + } else { + destinationset_ = nullptr; + } + volume_ = from.volume_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainmentNavigation) +} + +void VehicleCabinInfotainmentNavigation::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto.base); + mute_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&destinationset_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&volume_) - + reinterpret_cast<char*>(&destinationset_)) + sizeof(volume_)); +} + +VehicleCabinInfotainmentNavigation::~VehicleCabinInfotainmentNavigation() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + SharedDtor(); +} + +void VehicleCabinInfotainmentNavigation::SharedDtor() { + mute_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete destinationset_; +} + +void VehicleCabinInfotainmentNavigation::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainmentNavigation& VehicleCabinInfotainmentNavigation::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainmentNavigation_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainmentNavigation::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mute_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && destinationset_ != nullptr) { + delete destinationset_; + } + destinationset_ = nullptr; + volume_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainmentNavigation::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet DestinationSet = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_destinationset(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Mute = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_mute(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentNavigation.Mute"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Volume = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + volume_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainmentNavigation::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet DestinationSet = 1; + if (this->has_destinationset()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::destinationset(this), target, stream); + } + + // string Mute = 2; + if (this->mute().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_mute().data(), static_cast<int>(this->_internal_mute().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentNavigation.Mute"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_mute(), target); + } + + // uint32 Volume = 3; + if (this->volume() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_volume(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + return target; +} + +size_t VehicleCabinInfotainmentNavigation::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Mute = 2; + if (this->mute().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_mute()); + } + + // .com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet DestinationSet = 1; + if (this->has_destinationset()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *destinationset_); + } + + // uint32 Volume = 3; + if (this->volume() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_volume()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainmentNavigation::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainmentNavigation* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainmentNavigation>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainmentNavigation::MergeFrom(const VehicleCabinInfotainmentNavigation& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.mute().size() > 0) { + + mute_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.mute_); + } + if (from.has_destinationset()) { + _internal_mutable_destinationset()->::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet::MergeFrom(from._internal_destinationset()); + } + if (from.volume() != 0) { + _internal_set_volume(from._internal_volume()); + } +} + +void VehicleCabinInfotainmentNavigation::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainmentNavigation::CopyFrom(const VehicleCabinInfotainmentNavigation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentNavigation::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentNavigation::InternalSwap(VehicleCabinInfotainmentNavigation* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + mute_.Swap(&other->mute_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(destinationset_, other->destinationset_); + swap(volume_, other->volume_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentNavigation::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainmentNavigationDestinationSet::InitAsDefaultInstance() { +} +class VehicleCabinInfotainmentNavigationDestinationSet::_Internal { + public: +}; + +VehicleCabinInfotainmentNavigationDestinationSet::VehicleCabinInfotainmentNavigationDestinationSet() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) +} +VehicleCabinInfotainmentNavigationDestinationSet::VehicleCabinInfotainmentNavigationDestinationSet(const VehicleCabinInfotainmentNavigationDestinationSet& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&latitude_, &from.latitude_, + static_cast<size_t>(reinterpret_cast<char*>(&longitude_) - + reinterpret_cast<char*>(&latitude_)) + sizeof(longitude_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) +} + +void VehicleCabinInfotainmentNavigationDestinationSet::SharedCtor() { + ::memset(&latitude_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&longitude_) - + reinterpret_cast<char*>(&latitude_)) + sizeof(longitude_)); +} + +VehicleCabinInfotainmentNavigationDestinationSet::~VehicleCabinInfotainmentNavigationDestinationSet() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + SharedDtor(); +} + +void VehicleCabinInfotainmentNavigationDestinationSet::SharedDtor() { +} + +void VehicleCabinInfotainmentNavigationDestinationSet::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainmentNavigationDestinationSet& VehicleCabinInfotainmentNavigationDestinationSet::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainmentNavigationDestinationSet_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainmentNavigationDestinationSet::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&latitude_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&longitude_) - + reinterpret_cast<char*>(&latitude_)) + sizeof(longitude_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainmentNavigationDestinationSet::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // double Latitude = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 9)) { + latitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + // double Longitude = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 17)) { + longitude_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<double>(ptr); + ptr += sizeof(double); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainmentNavigationDestinationSet::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // double Latitude = 1; + if (!(this->latitude() <= 0 && this->latitude() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(1, this->_internal_latitude(), target); + } + + // double Longitude = 2; + if (!(this->longitude() <= 0 && this->longitude() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteDoubleToArray(2, this->_internal_longitude(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + return target; +} + +size_t VehicleCabinInfotainmentNavigationDestinationSet::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // double Latitude = 1; + if (!(this->latitude() <= 0 && this->latitude() >= 0)) { + total_size += 1 + 8; + } + + // double Longitude = 2; + if (!(this->longitude() <= 0 && this->longitude() >= 0)) { + total_size += 1 + 8; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainmentNavigationDestinationSet::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainmentNavigationDestinationSet* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainmentNavigationDestinationSet>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainmentNavigationDestinationSet::MergeFrom(const VehicleCabinInfotainmentNavigationDestinationSet& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.latitude() <= 0 && from.latitude() >= 0)) { + _internal_set_latitude(from._internal_latitude()); + } + if (!(from.longitude() <= 0 && from.longitude() >= 0)) { + _internal_set_longitude(from._internal_longitude()); + } +} + +void VehicleCabinInfotainmentNavigationDestinationSet::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainmentNavigationDestinationSet::CopyFrom(const VehicleCabinInfotainmentNavigationDestinationSet& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentNavigationDestinationSet) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentNavigationDestinationSet::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentNavigationDestinationSet::InternalSwap(VehicleCabinInfotainmentNavigationDestinationSet* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(latitude_, other->latitude_); + swap(longitude_, other->longitude_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentNavigationDestinationSet::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainmentHMI::InitAsDefaultInstance() { +} +class VehicleCabinInfotainmentHMI::_Internal { + public: +}; + +VehicleCabinInfotainmentHMI::VehicleCabinInfotainmentHMI() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainmentHMI) +} +VehicleCabinInfotainmentHMI::VehicleCabinInfotainmentHMI(const VehicleCabinInfotainmentHMI& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + currentlanguage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_currentlanguage().empty()) { + currentlanguage_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.currentlanguage_); + } + dateformat_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_dateformat().empty()) { + dateformat_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.dateformat_); + } + timeformat_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_timeformat().empty()) { + timeformat_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.timeformat_); + } + distanceunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_distanceunit().empty()) { + distanceunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.distanceunit_); + } + fuelvolumeunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_fuelvolumeunit().empty()) { + fuelvolumeunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fuelvolumeunit_); + } + fueleconomyunits_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_fueleconomyunits().empty()) { + fueleconomyunits_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fueleconomyunits_); + } + eveconomyunits_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_eveconomyunits().empty()) { + eveconomyunits_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.eveconomyunits_); + } + temperatureunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_temperatureunit().empty()) { + temperatureunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.temperatureunit_); + } + tirepressureunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_tirepressureunit().empty()) { + tirepressureunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.tirepressureunit_); + } + daynightmode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_daynightmode().empty()) { + daynightmode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.daynightmode_); + } + brightness_ = from.brightness_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainmentHMI) +} + +void VehicleCabinInfotainmentHMI::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto.base); + currentlanguage_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + dateformat_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + timeformat_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + distanceunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fuelvolumeunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fueleconomyunits_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + eveconomyunits_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + temperatureunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + tirepressureunit_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + daynightmode_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + brightness_ = 0; +} + +VehicleCabinInfotainmentHMI::~VehicleCabinInfotainmentHMI() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainmentHMI) + SharedDtor(); +} + +void VehicleCabinInfotainmentHMI::SharedDtor() { + currentlanguage_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + dateformat_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + timeformat_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + distanceunit_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fuelvolumeunit_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fueleconomyunits_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + eveconomyunits_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + temperatureunit_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + tirepressureunit_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + daynightmode_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinInfotainmentHMI::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainmentHMI& VehicleCabinInfotainmentHMI::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainmentHMI_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainmentHMI::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + currentlanguage_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + dateformat_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + timeformat_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + distanceunit_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fuelvolumeunit_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fueleconomyunits_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + eveconomyunits_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + temperatureunit_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + tirepressureunit_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + daynightmode_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + brightness_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainmentHMI::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string CurrentLanguage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_currentlanguage(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.CurrentLanguage"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string DateFormat = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_dateformat(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.DateFormat"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string TimeFormat = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_timeformat(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.TimeFormat"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string DistanceUnit = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_distanceunit(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.DistanceUnit"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string FuelVolumeUnit = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_fuelvolumeunit(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.FuelVolumeUnit"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string FuelEconomyUnits = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_fueleconomyunits(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.FuelEconomyUnits"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string EVEconomyUnits = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_eveconomyunits(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.EVEconomyUnits"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string TemperatureUnit = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_temperatureunit(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.TemperatureUnit"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string TirePressureUnit = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_tirepressureunit(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.TirePressureUnit"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Brightness = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) { + brightness_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // string DayNightMode = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_daynightmode(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentHMI.DayNightMode"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainmentHMI::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string CurrentLanguage = 1; + if (this->currentlanguage().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_currentlanguage().data(), static_cast<int>(this->_internal_currentlanguage().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.CurrentLanguage"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_currentlanguage(), target); + } + + // string DateFormat = 2; + if (this->dateformat().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_dateformat().data(), static_cast<int>(this->_internal_dateformat().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.DateFormat"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_dateformat(), target); + } + + // string TimeFormat = 3; + if (this->timeformat().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_timeformat().data(), static_cast<int>(this->_internal_timeformat().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.TimeFormat"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_timeformat(), target); + } + + // string DistanceUnit = 4; + if (this->distanceunit().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_distanceunit().data(), static_cast<int>(this->_internal_distanceunit().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.DistanceUnit"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_distanceunit(), target); + } + + // string FuelVolumeUnit = 5; + if (this->fuelvolumeunit().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fuelvolumeunit().data(), static_cast<int>(this->_internal_fuelvolumeunit().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.FuelVolumeUnit"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_fuelvolumeunit(), target); + } + + // string FuelEconomyUnits = 6; + if (this->fueleconomyunits().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fueleconomyunits().data(), static_cast<int>(this->_internal_fueleconomyunits().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.FuelEconomyUnits"); + target = stream->WriteStringMaybeAliased( + 6, this->_internal_fueleconomyunits(), target); + } + + // string EVEconomyUnits = 7; + if (this->eveconomyunits().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_eveconomyunits().data(), static_cast<int>(this->_internal_eveconomyunits().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.EVEconomyUnits"); + target = stream->WriteStringMaybeAliased( + 7, this->_internal_eveconomyunits(), target); + } + + // string TemperatureUnit = 8; + if (this->temperatureunit().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_temperatureunit().data(), static_cast<int>(this->_internal_temperatureunit().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.TemperatureUnit"); + target = stream->WriteStringMaybeAliased( + 8, this->_internal_temperatureunit(), target); + } + + // string TirePressureUnit = 9; + if (this->tirepressureunit().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_tirepressureunit().data(), static_cast<int>(this->_internal_tirepressureunit().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.TirePressureUnit"); + target = stream->WriteStringMaybeAliased( + 9, this->_internal_tirepressureunit(), target); + } + + // float Brightness = 10; + if (!(this->brightness() <= 0 && this->brightness() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_brightness(), target); + } + + // string DayNightMode = 11; + if (this->daynightmode().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_daynightmode().data(), static_cast<int>(this->_internal_daynightmode().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentHMI.DayNightMode"); + target = stream->WriteStringMaybeAliased( + 11, this->_internal_daynightmode(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainmentHMI) + return target; +} + +size_t VehicleCabinInfotainmentHMI::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string CurrentLanguage = 1; + if (this->currentlanguage().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_currentlanguage()); + } + + // string DateFormat = 2; + if (this->dateformat().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_dateformat()); + } + + // string TimeFormat = 3; + if (this->timeformat().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_timeformat()); + } + + // string DistanceUnit = 4; + if (this->distanceunit().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_distanceunit()); + } + + // string FuelVolumeUnit = 5; + if (this->fuelvolumeunit().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fuelvolumeunit()); + } + + // string FuelEconomyUnits = 6; + if (this->fueleconomyunits().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fueleconomyunits()); + } + + // string EVEconomyUnits = 7; + if (this->eveconomyunits().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_eveconomyunits()); + } + + // string TemperatureUnit = 8; + if (this->temperatureunit().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_temperatureunit()); + } + + // string TirePressureUnit = 9; + if (this->tirepressureunit().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_tirepressureunit()); + } + + // string DayNightMode = 11; + if (this->daynightmode().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_daynightmode()); + } + + // float Brightness = 10; + if (!(this->brightness() <= 0 && this->brightness() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainmentHMI::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainmentHMI* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainmentHMI>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainmentHMI) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainmentHMI) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainmentHMI::MergeFrom(const VehicleCabinInfotainmentHMI& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.currentlanguage().size() > 0) { + + currentlanguage_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.currentlanguage_); + } + if (from.dateformat().size() > 0) { + + dateformat_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.dateformat_); + } + if (from.timeformat().size() > 0) { + + timeformat_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.timeformat_); + } + if (from.distanceunit().size() > 0) { + + distanceunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.distanceunit_); + } + if (from.fuelvolumeunit().size() > 0) { + + fuelvolumeunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fuelvolumeunit_); + } + if (from.fueleconomyunits().size() > 0) { + + fueleconomyunits_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fueleconomyunits_); + } + if (from.eveconomyunits().size() > 0) { + + eveconomyunits_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.eveconomyunits_); + } + if (from.temperatureunit().size() > 0) { + + temperatureunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.temperatureunit_); + } + if (from.tirepressureunit().size() > 0) { + + tirepressureunit_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.tirepressureunit_); + } + if (from.daynightmode().size() > 0) { + + daynightmode_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.daynightmode_); + } + if (!(from.brightness() <= 0 && from.brightness() >= 0)) { + _internal_set_brightness(from._internal_brightness()); + } +} + +void VehicleCabinInfotainmentHMI::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainmentHMI::CopyFrom(const VehicleCabinInfotainmentHMI& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentHMI) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentHMI::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentHMI::InternalSwap(VehicleCabinInfotainmentHMI* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + currentlanguage_.Swap(&other->currentlanguage_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + dateformat_.Swap(&other->dateformat_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + timeformat_.Swap(&other->timeformat_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + distanceunit_.Swap(&other->distanceunit_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + fuelvolumeunit_.Swap(&other->fuelvolumeunit_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + fueleconomyunits_.Swap(&other->fueleconomyunits_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + eveconomyunits_.Swap(&other->eveconomyunits_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + temperatureunit_.Swap(&other->temperatureunit_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + tirepressureunit_.Swap(&other->tirepressureunit_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + daynightmode_.Swap(&other->daynightmode_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(brightness_, other->brightness_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentHMI::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinInfotainmentSmartphoneProjection::InitAsDefaultInstance() { +} +class VehicleCabinInfotainmentSmartphoneProjection::_Internal { + public: +}; + +VehicleCabinInfotainmentSmartphoneProjection::VehicleCabinInfotainmentSmartphoneProjection() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) +} +VehicleCabinInfotainmentSmartphoneProjection::VehicleCabinInfotainmentSmartphoneProjection(const VehicleCabinInfotainmentSmartphoneProjection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + supportedmode_(from.supportedmode_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + active_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_active().empty()) { + active_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.active_); + } + source_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_source().empty()) { + source_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.source_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) +} + +void VehicleCabinInfotainmentSmartphoneProjection::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto.base); + active_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + source_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinInfotainmentSmartphoneProjection::~VehicleCabinInfotainmentSmartphoneProjection() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + SharedDtor(); +} + +void VehicleCabinInfotainmentSmartphoneProjection::SharedDtor() { + active_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + source_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinInfotainmentSmartphoneProjection::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinInfotainmentSmartphoneProjection& VehicleCabinInfotainmentSmartphoneProjection::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinInfotainmentSmartphoneProjection_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinInfotainmentSmartphoneProjection::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + supportedmode_.Clear(); + active_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + source_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinInfotainmentSmartphoneProjection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Active = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_active(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection.Active"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Source = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_source(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection.Source"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // repeated string SupportedMode = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_add_supportedmode(), ptr, ctx, "com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection.SupportedMode"); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinInfotainmentSmartphoneProjection::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Active = 1; + if (this->active().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_active().data(), static_cast<int>(this->_internal_active().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection.Active"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_active(), target); + } + + // string Source = 2; + if (this->source().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_source().data(), static_cast<int>(this->_internal_source().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection.Source"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_source(), target); + } + + // repeated string SupportedMode = 3; + for (int i = 0, n = this->_internal_supportedmode_size(); i < n; i++) { + const auto& s = this->_internal_supportedmode(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast<int>(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection.SupportedMode"); + target = stream->WriteString(3, s, target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + return target; +} + +size_t VehicleCabinInfotainmentSmartphoneProjection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string SupportedMode = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(supportedmode_.size()); + for (int i = 0, n = supportedmode_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + supportedmode_.Get(i)); + } + + // string Active = 1; + if (this->active().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_active()); + } + + // string Source = 2; + if (this->source().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_source()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinInfotainmentSmartphoneProjection::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinInfotainmentSmartphoneProjection* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinInfotainmentSmartphoneProjection>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + MergeFrom(*source); + } +} + +void VehicleCabinInfotainmentSmartphoneProjection::MergeFrom(const VehicleCabinInfotainmentSmartphoneProjection& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + supportedmode_.MergeFrom(from.supportedmode_); + if (from.active().size() > 0) { + + active_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.active_); + } + if (from.source().size() > 0) { + + source_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.source_); + } +} + +void VehicleCabinInfotainmentSmartphoneProjection::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinInfotainmentSmartphoneProjection::CopyFrom(const VehicleCabinInfotainmentSmartphoneProjection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinInfotainmentSmartphoneProjection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinInfotainmentSmartphoneProjection::IsInitialized() const { + return true; +} + +void VehicleCabinInfotainmentSmartphoneProjection::InternalSwap(VehicleCabinInfotainmentSmartphoneProjection* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + supportedmode_.InternalSwap(&other->supportedmode_); + active_.Swap(&other->active_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + source_.Swap(&other->source_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinInfotainmentSmartphoneProjection::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSunroof::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSunroof_default_instance_._instance.get_mutable()->shade_ = const_cast< ::com::vehicle::messages::VehicleCabinSunroofShade*>( + ::com::vehicle::messages::VehicleCabinSunroofShade::internal_default_instance()); +} +class VehicleCabinSunroof::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSunroofShade& shade(const VehicleCabinSunroof* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSunroofShade& +VehicleCabinSunroof::_Internal::shade(const VehicleCabinSunroof* msg) { + return *msg->shade_; +} +VehicleCabinSunroof::VehicleCabinSunroof() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSunroof) +} +VehicleCabinSunroof::VehicleCabinSunroof(const VehicleCabinSunroof& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from._internal_has_shade()) { + shade_ = new ::com::vehicle::messages::VehicleCabinSunroofShade(*from.shade_); + } else { + shade_ = nullptr; + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSunroof) +} + +void VehicleCabinSunroof::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&shade_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&position_) - + reinterpret_cast<char*>(&shade_)) + sizeof(position_)); +} + +VehicleCabinSunroof::~VehicleCabinSunroof() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSunroof) + SharedDtor(); +} + +void VehicleCabinSunroof::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete shade_; +} + +void VehicleCabinSunroof::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSunroof& VehicleCabinSunroof::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSunroof_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSunroof::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSunroof) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && shade_ != nullptr) { + delete shade_; + } + shade_ = nullptr; + position_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSunroof::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int32 Position = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Switch = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinSunroof.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSunroofShade Shade = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSunroof::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSunroof) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Position = 1; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_position(), target); + } + + // string Switch = 2; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSunroof.Switch"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_switch_(), target); + } + + // .com.vehicle.messages.VehicleCabinSunroofShade Shade = 3; + if (this->has_shade()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::shade(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSunroof) + return target; +} + +size_t VehicleCabinSunroof::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSunroof) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 2; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // .com.vehicle.messages.VehicleCabinSunroofShade Shade = 3; + if (this->has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *shade_); + } + + // int32 Position = 1; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSunroof::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSunroof) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSunroof* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSunroof>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSunroof) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSunroof) + MergeFrom(*source); + } +} + +void VehicleCabinSunroof::MergeFrom(const VehicleCabinSunroof& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSunroof) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.has_shade()) { + _internal_mutable_shade()->::com::vehicle::messages::VehicleCabinSunroofShade::MergeFrom(from._internal_shade()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinSunroof::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSunroof) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSunroof::CopyFrom(const VehicleCabinSunroof& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSunroof) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSunroof::IsInitialized() const { + return true; +} + +void VehicleCabinSunroof::InternalSwap(VehicleCabinSunroof* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(shade_, other->shade_); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSunroof::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSunroofShade::InitAsDefaultInstance() { +} +class VehicleCabinSunroofShade::_Internal { + public: +}; + +VehicleCabinSunroofShade::VehicleCabinSunroofShade() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSunroofShade) +} +VehicleCabinSunroofShade::VehicleCabinSunroofShade(const VehicleCabinSunroofShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSunroofShade) +} + +void VehicleCabinSunroofShade::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; +} + +VehicleCabinSunroofShade::~VehicleCabinSunroofShade() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSunroofShade) + SharedDtor(); +} + +void VehicleCabinSunroofShade::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSunroofShade::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSunroofShade& VehicleCabinSunroofShade::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSunroofShade_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSunroofShade::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSunroofShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSunroofShade::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinSunroofShade.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSunroofShade::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSunroofShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSunroofShade.Switch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_switch_(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSunroofShade) + return target; +} + +size_t VehicleCabinSunroofShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSunroofShade) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSunroofShade::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSunroofShade) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSunroofShade* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSunroofShade>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSunroofShade) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSunroofShade) + MergeFrom(*source); + } +} + +void VehicleCabinSunroofShade::MergeFrom(const VehicleCabinSunroofShade& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSunroofShade) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinSunroofShade::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSunroofShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSunroofShade::CopyFrom(const VehicleCabinSunroofShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSunroofShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSunroofShade::IsInitialized() const { + return true; +} + +void VehicleCabinSunroofShade::InternalSwap(VehicleCabinSunroofShade* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSunroofShade::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinRearviewMirror::InitAsDefaultInstance() { +} +class VehicleCabinRearviewMirror::_Internal { + public: +}; + +VehicleCabinRearviewMirror::VehicleCabinRearviewMirror() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinRearviewMirror) +} +VehicleCabinRearviewMirror::VehicleCabinRearviewMirror(const VehicleCabinRearviewMirror& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + dimminglevel_ = from.dimminglevel_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinRearviewMirror) +} + +void VehicleCabinRearviewMirror::SharedCtor() { + dimminglevel_ = 0u; +} + +VehicleCabinRearviewMirror::~VehicleCabinRearviewMirror() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinRearviewMirror) + SharedDtor(); +} + +void VehicleCabinRearviewMirror::SharedDtor() { +} + +void VehicleCabinRearviewMirror::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinRearviewMirror& VehicleCabinRearviewMirror::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinRearviewMirror_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinRearviewMirror::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinRearviewMirror) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + dimminglevel_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinRearviewMirror::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 DimmingLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + dimminglevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinRearviewMirror::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinRearviewMirror) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 DimmingLevel = 1; + if (this->dimminglevel() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_dimminglevel(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinRearviewMirror) + return target; +} + +size_t VehicleCabinRearviewMirror::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinRearviewMirror) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 DimmingLevel = 1; + if (this->dimminglevel() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_dimminglevel()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinRearviewMirror::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinRearviewMirror) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinRearviewMirror* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinRearviewMirror>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinRearviewMirror) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinRearviewMirror) + MergeFrom(*source); + } +} + +void VehicleCabinRearviewMirror::MergeFrom(const VehicleCabinRearviewMirror& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinRearviewMirror) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.dimminglevel() != 0) { + _internal_set_dimminglevel(from._internal_dimminglevel()); + } +} + +void VehicleCabinRearviewMirror::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinRearviewMirror) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinRearviewMirror::CopyFrom(const VehicleCabinRearviewMirror& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinRearviewMirror) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinRearviewMirror::IsInitialized() const { + return true; +} + +void VehicleCabinRearviewMirror::InternalSwap(VehicleCabinRearviewMirror* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(dimminglevel_, other->dimminglevel_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinRearviewMirror::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinLights::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinLights_default_instance_._instance.get_mutable()->spotlight_ = const_cast< ::com::vehicle::messages::VehicleCabinLightsSpotlight*>( + ::com::vehicle::messages::VehicleCabinLightsSpotlight::internal_default_instance()); +} +class VehicleCabinLights::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinLightsSpotlight& spotlight(const VehicleCabinLights* msg); +}; + +const ::com::vehicle::messages::VehicleCabinLightsSpotlight& +VehicleCabinLights::_Internal::spotlight(const VehicleCabinLights* msg) { + return *msg->spotlight_; +} +VehicleCabinLights::VehicleCabinLights() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinLights) +} +VehicleCabinLights::VehicleCabinLights(const VehicleCabinLights& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_spotlight()) { + spotlight_ = new ::com::vehicle::messages::VehicleCabinLightsSpotlight(*from.spotlight_); + } else { + spotlight_ = nullptr; + } + ::memcpy(&isgloveboxon_, &from.isgloveboxon_, + static_cast<size_t>(reinterpret_cast<char*>(&lightintensity_) - + reinterpret_cast<char*>(&isgloveboxon_)) + sizeof(lightintensity_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinLights) +} + +void VehicleCabinLights::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinLights_V2C_2fvspec_2eproto.base); + ::memset(&spotlight_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&lightintensity_) - + reinterpret_cast<char*>(&spotlight_)) + sizeof(lightintensity_)); +} + +VehicleCabinLights::~VehicleCabinLights() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinLights) + SharedDtor(); +} + +void VehicleCabinLights::SharedDtor() { + if (this != internal_default_instance()) delete spotlight_; +} + +void VehicleCabinLights::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinLights& VehicleCabinLights::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinLights_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinLights::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinLights) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && spotlight_ != nullptr) { + delete spotlight_; + } + spotlight_ = nullptr; + ::memset(&isgloveboxon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&lightintensity_) - + reinterpret_cast<char*>(&isgloveboxon_)) + sizeof(lightintensity_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinLights::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsGloveBoxOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isgloveboxon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTrunkOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + istrunkon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDomeOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isdomeon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 AmbientLight = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + ambientlight_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 LightIntensity = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + lightintensity_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinLightsSpotlight Spotlight = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_spotlight(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinLights::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinLights) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsGloveBoxOn = 1; + if (this->isgloveboxon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isgloveboxon(), target); + } + + // bool IsTrunkOn = 2; + if (this->istrunkon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_istrunkon(), target); + } + + // bool IsDomeOn = 3; + if (this->isdomeon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isdomeon(), target); + } + + // uint32 AmbientLight = 4; + if (this->ambientlight() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_ambientlight(), target); + } + + // uint32 LightIntensity = 5; + if (this->lightintensity() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_lightintensity(), target); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlight Spotlight = 6; + if (this->has_spotlight()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::spotlight(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinLights) + return target; +} + +size_t VehicleCabinLights::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinLights) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinLightsSpotlight Spotlight = 6; + if (this->has_spotlight()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *spotlight_); + } + + // bool IsGloveBoxOn = 1; + if (this->isgloveboxon() != 0) { + total_size += 1 + 1; + } + + // bool IsTrunkOn = 2; + if (this->istrunkon() != 0) { + total_size += 1 + 1; + } + + // bool IsDomeOn = 3; + if (this->isdomeon() != 0) { + total_size += 1 + 1; + } + + // uint32 AmbientLight = 4; + if (this->ambientlight() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_ambientlight()); + } + + // uint32 LightIntensity = 5; + if (this->lightintensity() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_lightintensity()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinLights::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinLights) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinLights* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinLights>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinLights) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinLights) + MergeFrom(*source); + } +} + +void VehicleCabinLights::MergeFrom(const VehicleCabinLights& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinLights) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_spotlight()) { + _internal_mutable_spotlight()->::com::vehicle::messages::VehicleCabinLightsSpotlight::MergeFrom(from._internal_spotlight()); + } + if (from.isgloveboxon() != 0) { + _internal_set_isgloveboxon(from._internal_isgloveboxon()); + } + if (from.istrunkon() != 0) { + _internal_set_istrunkon(from._internal_istrunkon()); + } + if (from.isdomeon() != 0) { + _internal_set_isdomeon(from._internal_isdomeon()); + } + if (from.ambientlight() != 0) { + _internal_set_ambientlight(from._internal_ambientlight()); + } + if (from.lightintensity() != 0) { + _internal_set_lightintensity(from._internal_lightintensity()); + } +} + +void VehicleCabinLights::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinLights) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinLights::CopyFrom(const VehicleCabinLights& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinLights) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLights::IsInitialized() const { + return true; +} + +void VehicleCabinLights::InternalSwap(VehicleCabinLights* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(spotlight_, other->spotlight_); + swap(isgloveboxon_, other->isgloveboxon_); + swap(istrunkon_, other->istrunkon_); + swap(isdomeon_, other->isdomeon_); + swap(ambientlight_, other->ambientlight_); + swap(lightintensity_, other->lightintensity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLights::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinLightsSpotlight::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinLightsSpotlight_default_instance_._instance.get_mutable()->row1_ = const_cast< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1*>( + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinLightsSpotlight_default_instance_._instance.get_mutable()->row2_ = const_cast< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2*>( + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinLightsSpotlight_default_instance_._instance.get_mutable()->row3_ = const_cast< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3*>( + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinLightsSpotlight_default_instance_._instance.get_mutable()->row4_ = const_cast< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4*>( + ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4::internal_default_instance()); +} +class VehicleCabinLightsSpotlight::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1& row1(const VehicleCabinLightsSpotlight* msg); + static const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2& row2(const VehicleCabinLightsSpotlight* msg); + static const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3& row3(const VehicleCabinLightsSpotlight* msg); + static const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4& row4(const VehicleCabinLightsSpotlight* msg); +}; + +const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1& +VehicleCabinLightsSpotlight::_Internal::row1(const VehicleCabinLightsSpotlight* msg) { + return *msg->row1_; +} +const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2& +VehicleCabinLightsSpotlight::_Internal::row2(const VehicleCabinLightsSpotlight* msg) { + return *msg->row2_; +} +const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3& +VehicleCabinLightsSpotlight::_Internal::row3(const VehicleCabinLightsSpotlight* msg) { + return *msg->row3_; +} +const ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4& +VehicleCabinLightsSpotlight::_Internal::row4(const VehicleCabinLightsSpotlight* msg) { + return *msg->row4_; +} +VehicleCabinLightsSpotlight::VehicleCabinLightsSpotlight() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinLightsSpotlight) +} +VehicleCabinLightsSpotlight::VehicleCabinLightsSpotlight(const VehicleCabinLightsSpotlight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_row1()) { + row1_ = new ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1(*from.row1_); + } else { + row1_ = nullptr; + } + if (from._internal_has_row2()) { + row2_ = new ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2(*from.row2_); + } else { + row2_ = nullptr; + } + if (from._internal_has_row3()) { + row3_ = new ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3(*from.row3_); + } else { + row3_ = nullptr; + } + if (from._internal_has_row4()) { + row4_ = new ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4(*from.row4_); + } else { + row4_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinLightsSpotlight) +} + +void VehicleCabinLightsSpotlight::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto.base); + ::memset(&row1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&row4_) - + reinterpret_cast<char*>(&row1_)) + sizeof(row4_)); +} + +VehicleCabinLightsSpotlight::~VehicleCabinLightsSpotlight() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinLightsSpotlight) + SharedDtor(); +} + +void VehicleCabinLightsSpotlight::SharedDtor() { + if (this != internal_default_instance()) delete row1_; + if (this != internal_default_instance()) delete row2_; + if (this != internal_default_instance()) delete row3_; + if (this != internal_default_instance()) delete row4_; +} + +void VehicleCabinLightsSpotlight::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinLightsSpotlight& VehicleCabinLightsSpotlight::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinLightsSpotlight_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinLightsSpotlight::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && row1_ != nullptr) { + delete row1_; + } + row1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row2_ != nullptr) { + delete row2_; + } + row2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row3_ != nullptr) { + delete row3_; + } + row3_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row4_ != nullptr) { + delete row4_; + } + row4_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinLightsSpotlight::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow3 Row3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_row3(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow4 Row4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_row4(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinLightsSpotlight::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow1 Row1 = 1; + if (this->has_row1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::row1(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow2 Row2 = 2; + if (this->has_row2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::row2(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow3 Row3 = 3; + if (this->has_row3()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::row3(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow4 Row4 = 4; + if (this->has_row4()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::row4(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinLightsSpotlight) + return target; +} + +size_t VehicleCabinLightsSpotlight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow1 Row1 = 1; + if (this->has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row1_); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow2 Row2 = 2; + if (this->has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row2_); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow3 Row3 = 3; + if (this->has_row3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row3_); + } + + // .com.vehicle.messages.VehicleCabinLightsSpotlightRow4 Row4 = 4; + if (this->has_row4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row4_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinLightsSpotlight::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinLightsSpotlight* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinLightsSpotlight>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinLightsSpotlight) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinLightsSpotlight) + MergeFrom(*source); + } +} + +void VehicleCabinLightsSpotlight::MergeFrom(const VehicleCabinLightsSpotlight& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_row1()) { + _internal_mutable_row1()->::com::vehicle::messages::VehicleCabinLightsSpotlightRow1::MergeFrom(from._internal_row1()); + } + if (from.has_row2()) { + _internal_mutable_row2()->::com::vehicle::messages::VehicleCabinLightsSpotlightRow2::MergeFrom(from._internal_row2()); + } + if (from.has_row3()) { + _internal_mutable_row3()->::com::vehicle::messages::VehicleCabinLightsSpotlightRow3::MergeFrom(from._internal_row3()); + } + if (from.has_row4()) { + _internal_mutable_row4()->::com::vehicle::messages::VehicleCabinLightsSpotlightRow4::MergeFrom(from._internal_row4()); + } +} + +void VehicleCabinLightsSpotlight::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinLightsSpotlight::CopyFrom(const VehicleCabinLightsSpotlight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlight::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlight::InternalSwap(VehicleCabinLightsSpotlight* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(row1_, other->row1_); + swap(row2_, other->row2_); + swap(row3_, other->row3_); + swap(row4_, other->row4_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlight::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinLightsSpotlightRow1::InitAsDefaultInstance() { +} +class VehicleCabinLightsSpotlightRow1::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow1::VehicleCabinLightsSpotlightRow1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) +} +VehicleCabinLightsSpotlightRow1::VehicleCabinLightsSpotlightRow1(const VehicleCabinLightsSpotlightRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issharedon_, &from.issharedon_, + static_cast<size_t>(reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) +} + +void VehicleCabinLightsSpotlightRow1::SharedCtor() { + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); +} + +VehicleCabinLightsSpotlightRow1::~VehicleCabinLightsSpotlightRow1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + SharedDtor(); +} + +void VehicleCabinLightsSpotlightRow1::SharedDtor() { +} + +void VehicleCabinLightsSpotlightRow1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinLightsSpotlightRow1& VehicleCabinLightsSpotlightRow1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinLightsSpotlightRow1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinLightsSpotlightRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinLightsSpotlightRow1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinLightsSpotlightRow1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + return target; +} + +size_t VehicleCabinLightsSpotlightRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + total_size += 1 + 1; + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + total_size += 1 + 1; + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinLightsSpotlightRow1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinLightsSpotlightRow1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinLightsSpotlightRow1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + MergeFrom(*source); + } +} + +void VehicleCabinLightsSpotlightRow1::MergeFrom(const VehicleCabinLightsSpotlightRow1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issharedon() != 0) { + _internal_set_issharedon(from._internal_issharedon()); + } + if (from.islefton() != 0) { + _internal_set_islefton(from._internal_islefton()); + } + if (from.isrighton() != 0) { + _internal_set_isrighton(from._internal_isrighton()); + } +} + +void VehicleCabinLightsSpotlightRow1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinLightsSpotlightRow1::CopyFrom(const VehicleCabinLightsSpotlightRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow1::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow1::InternalSwap(VehicleCabinLightsSpotlightRow1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issharedon_, other->issharedon_); + swap(islefton_, other->islefton_); + swap(isrighton_, other->isrighton_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinLightsSpotlightRow2::InitAsDefaultInstance() { +} +class VehicleCabinLightsSpotlightRow2::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow2::VehicleCabinLightsSpotlightRow2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) +} +VehicleCabinLightsSpotlightRow2::VehicleCabinLightsSpotlightRow2(const VehicleCabinLightsSpotlightRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issharedon_, &from.issharedon_, + static_cast<size_t>(reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) +} + +void VehicleCabinLightsSpotlightRow2::SharedCtor() { + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); +} + +VehicleCabinLightsSpotlightRow2::~VehicleCabinLightsSpotlightRow2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + SharedDtor(); +} + +void VehicleCabinLightsSpotlightRow2::SharedDtor() { +} + +void VehicleCabinLightsSpotlightRow2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinLightsSpotlightRow2& VehicleCabinLightsSpotlightRow2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinLightsSpotlightRow2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinLightsSpotlightRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinLightsSpotlightRow2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinLightsSpotlightRow2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + return target; +} + +size_t VehicleCabinLightsSpotlightRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + total_size += 1 + 1; + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + total_size += 1 + 1; + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinLightsSpotlightRow2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinLightsSpotlightRow2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinLightsSpotlightRow2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + MergeFrom(*source); + } +} + +void VehicleCabinLightsSpotlightRow2::MergeFrom(const VehicleCabinLightsSpotlightRow2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issharedon() != 0) { + _internal_set_issharedon(from._internal_issharedon()); + } + if (from.islefton() != 0) { + _internal_set_islefton(from._internal_islefton()); + } + if (from.isrighton() != 0) { + _internal_set_isrighton(from._internal_isrighton()); + } +} + +void VehicleCabinLightsSpotlightRow2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinLightsSpotlightRow2::CopyFrom(const VehicleCabinLightsSpotlightRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow2::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow2::InternalSwap(VehicleCabinLightsSpotlightRow2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issharedon_, other->issharedon_); + swap(islefton_, other->islefton_); + swap(isrighton_, other->isrighton_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinLightsSpotlightRow3::InitAsDefaultInstance() { +} +class VehicleCabinLightsSpotlightRow3::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow3::VehicleCabinLightsSpotlightRow3() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) +} +VehicleCabinLightsSpotlightRow3::VehicleCabinLightsSpotlightRow3(const VehicleCabinLightsSpotlightRow3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issharedon_, &from.issharedon_, + static_cast<size_t>(reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) +} + +void VehicleCabinLightsSpotlightRow3::SharedCtor() { + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); +} + +VehicleCabinLightsSpotlightRow3::~VehicleCabinLightsSpotlightRow3() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + SharedDtor(); +} + +void VehicleCabinLightsSpotlightRow3::SharedDtor() { +} + +void VehicleCabinLightsSpotlightRow3::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinLightsSpotlightRow3& VehicleCabinLightsSpotlightRow3::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinLightsSpotlightRow3_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinLightsSpotlightRow3::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinLightsSpotlightRow3::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinLightsSpotlightRow3::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + return target; +} + +size_t VehicleCabinLightsSpotlightRow3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + total_size += 1 + 1; + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + total_size += 1 + 1; + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinLightsSpotlightRow3::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinLightsSpotlightRow3* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinLightsSpotlightRow3>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + MergeFrom(*source); + } +} + +void VehicleCabinLightsSpotlightRow3::MergeFrom(const VehicleCabinLightsSpotlightRow3& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issharedon() != 0) { + _internal_set_issharedon(from._internal_issharedon()); + } + if (from.islefton() != 0) { + _internal_set_islefton(from._internal_islefton()); + } + if (from.isrighton() != 0) { + _internal_set_isrighton(from._internal_isrighton()); + } +} + +void VehicleCabinLightsSpotlightRow3::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinLightsSpotlightRow3::CopyFrom(const VehicleCabinLightsSpotlightRow3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow3::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow3::InternalSwap(VehicleCabinLightsSpotlightRow3* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issharedon_, other->issharedon_); + swap(islefton_, other->islefton_); + swap(isrighton_, other->isrighton_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow3::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinLightsSpotlightRow4::InitAsDefaultInstance() { +} +class VehicleCabinLightsSpotlightRow4::_Internal { + public: +}; + +VehicleCabinLightsSpotlightRow4::VehicleCabinLightsSpotlightRow4() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) +} +VehicleCabinLightsSpotlightRow4::VehicleCabinLightsSpotlightRow4(const VehicleCabinLightsSpotlightRow4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&issharedon_, &from.issharedon_, + static_cast<size_t>(reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) +} + +void VehicleCabinLightsSpotlightRow4::SharedCtor() { + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); +} + +VehicleCabinLightsSpotlightRow4::~VehicleCabinLightsSpotlightRow4() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + SharedDtor(); +} + +void VehicleCabinLightsSpotlightRow4::SharedDtor() { +} + +void VehicleCabinLightsSpotlightRow4::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinLightsSpotlightRow4& VehicleCabinLightsSpotlightRow4::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinLightsSpotlightRow4_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinLightsSpotlightRow4::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&issharedon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isrighton_) - + reinterpret_cast<char*>(&issharedon_)) + sizeof(isrighton_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinLightsSpotlightRow4::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsSharedOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + issharedon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLeftOn = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islefton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsRightOn = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isrighton_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinLightsSpotlightRow4::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_issharedon(), target); + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islefton(), target); + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isrighton(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + return target; +} + +size_t VehicleCabinLightsSpotlightRow4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsSharedOn = 1; + if (this->issharedon() != 0) { + total_size += 1 + 1; + } + + // bool IsLeftOn = 2; + if (this->islefton() != 0) { + total_size += 1 + 1; + } + + // bool IsRightOn = 3; + if (this->isrighton() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinLightsSpotlightRow4::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinLightsSpotlightRow4* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinLightsSpotlightRow4>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + MergeFrom(*source); + } +} + +void VehicleCabinLightsSpotlightRow4::MergeFrom(const VehicleCabinLightsSpotlightRow4& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.issharedon() != 0) { + _internal_set_issharedon(from._internal_issharedon()); + } + if (from.islefton() != 0) { + _internal_set_islefton(from._internal_islefton()); + } + if (from.isrighton() != 0) { + _internal_set_isrighton(from._internal_isrighton()); + } +} + +void VehicleCabinLightsSpotlightRow4::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinLightsSpotlightRow4::CopyFrom(const VehicleCabinLightsSpotlightRow4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinLightsSpotlightRow4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinLightsSpotlightRow4::IsInitialized() const { + return true; +} + +void VehicleCabinLightsSpotlightRow4::InternalSwap(VehicleCabinLightsSpotlightRow4* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(issharedon_, other->issharedon_); + swap(islefton_, other->islefton_); + swap(isrighton_, other->isrighton_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinLightsSpotlightRow4::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoor::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoor_default_instance_._instance.get_mutable()->row1_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1*>( + ::com::vehicle::messages::VehicleCabinDoorRow1::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoor_default_instance_._instance.get_mutable()->row2_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2*>( + ::com::vehicle::messages::VehicleCabinDoorRow2::internal_default_instance()); +} +class VehicleCabinDoor::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow1& row1(const VehicleCabinDoor* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow2& row2(const VehicleCabinDoor* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow1& +VehicleCabinDoor::_Internal::row1(const VehicleCabinDoor* msg) { + return *msg->row1_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow2& +VehicleCabinDoor::_Internal::row2(const VehicleCabinDoor* msg) { + return *msg->row2_; +} +VehicleCabinDoor::VehicleCabinDoor() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoor) +} +VehicleCabinDoor::VehicleCabinDoor(const VehicleCabinDoor& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_row1()) { + row1_ = new ::com::vehicle::messages::VehicleCabinDoorRow1(*from.row1_); + } else { + row1_ = nullptr; + } + if (from._internal_has_row2()) { + row2_ = new ::com::vehicle::messages::VehicleCabinDoorRow2(*from.row2_); + } else { + row2_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoor) +} + +void VehicleCabinDoor::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoor_V2C_2fvspec_2eproto.base); + ::memset(&row1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&row2_) - + reinterpret_cast<char*>(&row1_)) + sizeof(row2_)); +} + +VehicleCabinDoor::~VehicleCabinDoor() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoor) + SharedDtor(); +} + +void VehicleCabinDoor::SharedDtor() { + if (this != internal_default_instance()) delete row1_; + if (this != internal_default_instance()) delete row2_; +} + +void VehicleCabinDoor::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoor& VehicleCabinDoor::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoor_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoor::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoor) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && row1_ != nullptr) { + delete row1_; + } + row1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row2_ != nullptr) { + delete row2_; + } + row2_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoor::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinDoorRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoor::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoor) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow1 Row1 = 1; + if (this->has_row1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::row1(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2 Row2 = 2; + if (this->has_row2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::row2(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoor) + return target; +} + +size_t VehicleCabinDoor::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoor) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow1 Row1 = 1; + if (this->has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row1_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2 Row2 = 2; + if (this->has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row2_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoor::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoor) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoor* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoor>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoor) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoor) + MergeFrom(*source); + } +} + +void VehicleCabinDoor::MergeFrom(const VehicleCabinDoor& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoor) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_row1()) { + _internal_mutable_row1()->::com::vehicle::messages::VehicleCabinDoorRow1::MergeFrom(from._internal_row1()); + } + if (from.has_row2()) { + _internal_mutable_row2()->::com::vehicle::messages::VehicleCabinDoorRow2::MergeFrom(from._internal_row2()); + } +} + +void VehicleCabinDoor::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoor::CopyFrom(const VehicleCabinDoor& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoor) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoor::IsInitialized() const { + return true; +} + +void VehicleCabinDoor::InternalSwap(VehicleCabinDoor* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(row1_, other->row1_); + swap(row2_, other->row2_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoor::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoorRow1_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1Left*>( + ::com::vehicle::messages::VehicleCabinDoorRow1Left::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoorRow1_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1Right*>( + ::com::vehicle::messages::VehicleCabinDoorRow1Right::internal_default_instance()); +} +class VehicleCabinDoorRow1::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow1Left& left(const VehicleCabinDoorRow1* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow1Right& right(const VehicleCabinDoorRow1* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow1Left& +VehicleCabinDoorRow1::_Internal::left(const VehicleCabinDoorRow1* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow1Right& +VehicleCabinDoorRow1::_Internal::right(const VehicleCabinDoorRow1* msg) { + return *msg->right_; +} +VehicleCabinDoorRow1::VehicleCabinDoorRow1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1) +} +VehicleCabinDoorRow1::VehicleCabinDoorRow1(const VehicleCabinDoorRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleCabinDoorRow1Left(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleCabinDoorRow1Right(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1) +} + +void VehicleCabinDoorRow1::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleCabinDoorRow1::~VehicleCabinDoorRow1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1) + SharedDtor(); +} + +void VehicleCabinDoorRow1::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleCabinDoorRow1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1& VehicleCabinDoorRow1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinDoorRow1Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow1Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow1Left Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1Right Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1) + return target; +} + +size_t VehicleCabinDoorRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow1Left Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1Right Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1::MergeFrom(const VehicleCabinDoorRow1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleCabinDoorRow1Left::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleCabinDoorRow1Right::MergeFrom(from._internal_right()); + } +} + +void VehicleCabinDoorRow1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1::CopyFrom(const VehicleCabinDoorRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1::InternalSwap(VehicleCabinDoorRow1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1Left::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoorRow1Left_default_instance_._instance.get_mutable()->window_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow*>( + ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoorRow1Left_default_instance_._instance.get_mutable()->shade_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade*>( + ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade::internal_default_instance()); +} +class VehicleCabinDoorRow1Left::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow& window(const VehicleCabinDoorRow1Left* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade& shade(const VehicleCabinDoorRow1Left* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow& +VehicleCabinDoorRow1Left::_Internal::window(const VehicleCabinDoorRow1Left* msg) { + return *msg->window_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade& +VehicleCabinDoorRow1Left::_Internal::shade(const VehicleCabinDoorRow1Left* msg) { + return *msg->shade_; +} +VehicleCabinDoorRow1Left::VehicleCabinDoorRow1Left() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1Left) +} +VehicleCabinDoorRow1Left::VehicleCabinDoorRow1Left(const VehicleCabinDoorRow1Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_window()) { + window_ = new ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow(*from.window_); + } else { + window_ = nullptr; + } + if (from._internal_has_shade()) { + shade_ = new ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade(*from.shade_); + } else { + shade_ = nullptr; + } + ::memcpy(&isopen_, &from.isopen_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1Left) +} + +void VehicleCabinDoorRow1Left::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto.base); + ::memset(&window_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&window_)) + sizeof(ischildlockactive_)); +} + +VehicleCabinDoorRow1Left::~VehicleCabinDoorRow1Left() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1Left) + SharedDtor(); +} + +void VehicleCabinDoorRow1Left::SharedDtor() { + if (this != internal_default_instance()) delete window_; + if (this != internal_default_instance()) delete shade_; +} + +void VehicleCabinDoorRow1Left::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1Left& VehicleCabinDoorRow1Left::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1Left_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1Left::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && window_ != nullptr) { + delete window_; + } + window_ = nullptr; + if (GetArenaNoVirtual() == nullptr && shade_ != nullptr) { + delete shade_; + } + shade_ = nullptr; + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1Left::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow1LeftWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_window(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockActive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow1LeftShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1Left::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islocked(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1LeftWindow Window = 3; + if (this->has_window()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::window(this), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_ischildlockactive(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1LeftShade Shade = 5; + if (this->has_shade()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::shade(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1Left) + return target; +} + +size_t VehicleCabinDoorRow1Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow1LeftWindow Window = 3; + if (this->has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *window_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1LeftShade Shade = 5; + if (this->has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *shade_); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1Left::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1Left* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1Left>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1Left) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1Left) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1Left::MergeFrom(const VehicleCabinDoorRow1Left& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_window()) { + _internal_mutable_window()->::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow::MergeFrom(from._internal_window()); + } + if (from.has_shade()) { + _internal_mutable_shade()->::com::vehicle::messages::VehicleCabinDoorRow1LeftShade::MergeFrom(from._internal_shade()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.islocked() != 0) { + _internal_set_islocked(from._internal_islocked()); + } + if (from.ischildlockactive() != 0) { + _internal_set_ischildlockactive(from._internal_ischildlockactive()); + } +} + +void VehicleCabinDoorRow1Left::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1Left::CopyFrom(const VehicleCabinDoorRow1Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1Left::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1Left::InternalSwap(VehicleCabinDoorRow1Left* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(window_, other->window_); + swap(shade_, other->shade_); + swap(isopen_, other->isopen_); + swap(islocked_, other->islocked_); + swap(ischildlockactive_, other->ischildlockactive_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1Left::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1LeftWindow::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow1LeftWindow::_Internal { + public: +}; + +VehicleCabinDoorRow1LeftWindow::VehicleCabinDoorRow1LeftWindow() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) +} +VehicleCabinDoorRow1LeftWindow::VehicleCabinDoorRow1LeftWindow(const VehicleCabinDoorRow1LeftWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + ::memcpy(&position_, &from.position_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) +} + +void VehicleCabinDoorRow1LeftWindow::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); +} + +VehicleCabinDoorRow1LeftWindow::~VehicleCabinDoorRow1LeftWindow() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + SharedDtor(); +} + +void VehicleCabinDoorRow1LeftWindow::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow1LeftWindow::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1LeftWindow& VehicleCabinDoorRow1LeftWindow::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1LeftWindow_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1LeftWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1LeftWindow::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow1LeftWindow.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1LeftWindow::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow1LeftWindow.Switch"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_switch_(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + return target; +} + +size_t VehicleCabinDoorRow1LeftWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1LeftWindow::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1LeftWindow* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1LeftWindow>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1LeftWindow::MergeFrom(const VehicleCabinDoorRow1LeftWindow& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.ischildlockengaged() != 0) { + _internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } +} + +void VehicleCabinDoorRow1LeftWindow::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1LeftWindow::CopyFrom(const VehicleCabinDoorRow1LeftWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1LeftWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1LeftWindow::InternalSwap(VehicleCabinDoorRow1LeftWindow* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); + swap(isopen_, other->isopen_); + swap(ischildlockengaged_, other->ischildlockengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1LeftWindow::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1LeftShade::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow1LeftShade::_Internal { + public: +}; + +VehicleCabinDoorRow1LeftShade::VehicleCabinDoorRow1LeftShade() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) +} +VehicleCabinDoorRow1LeftShade::VehicleCabinDoorRow1LeftShade(const VehicleCabinDoorRow1LeftShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) +} + +void VehicleCabinDoorRow1LeftShade::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; +} + +VehicleCabinDoorRow1LeftShade::~VehicleCabinDoorRow1LeftShade() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + SharedDtor(); +} + +void VehicleCabinDoorRow1LeftShade::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow1LeftShade::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1LeftShade& VehicleCabinDoorRow1LeftShade::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1LeftShade_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1LeftShade::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1LeftShade::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow1LeftShade.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1LeftShade::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow1LeftShade.Switch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_switch_(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + return target; +} + +size_t VehicleCabinDoorRow1LeftShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1LeftShade::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1LeftShade* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1LeftShade>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1LeftShade::MergeFrom(const VehicleCabinDoorRow1LeftShade& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinDoorRow1LeftShade::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1LeftShade::CopyFrom(const VehicleCabinDoorRow1LeftShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1LeftShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1LeftShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1LeftShade::InternalSwap(VehicleCabinDoorRow1LeftShade* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1LeftShade::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1Right::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoorRow1Right_default_instance_._instance.get_mutable()->window_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow*>( + ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoorRow1Right_default_instance_._instance.get_mutable()->shade_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow1RightShade*>( + ::com::vehicle::messages::VehicleCabinDoorRow1RightShade::internal_default_instance()); +} +class VehicleCabinDoorRow1Right::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow& window(const VehicleCabinDoorRow1Right* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow1RightShade& shade(const VehicleCabinDoorRow1Right* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow& +VehicleCabinDoorRow1Right::_Internal::window(const VehicleCabinDoorRow1Right* msg) { + return *msg->window_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow1RightShade& +VehicleCabinDoorRow1Right::_Internal::shade(const VehicleCabinDoorRow1Right* msg) { + return *msg->shade_; +} +VehicleCabinDoorRow1Right::VehicleCabinDoorRow1Right() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1Right) +} +VehicleCabinDoorRow1Right::VehicleCabinDoorRow1Right(const VehicleCabinDoorRow1Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_window()) { + window_ = new ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow(*from.window_); + } else { + window_ = nullptr; + } + if (from._internal_has_shade()) { + shade_ = new ::com::vehicle::messages::VehicleCabinDoorRow1RightShade(*from.shade_); + } else { + shade_ = nullptr; + } + ::memcpy(&isopen_, &from.isopen_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1Right) +} + +void VehicleCabinDoorRow1Right::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto.base); + ::memset(&window_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&window_)) + sizeof(ischildlockactive_)); +} + +VehicleCabinDoorRow1Right::~VehicleCabinDoorRow1Right() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1Right) + SharedDtor(); +} + +void VehicleCabinDoorRow1Right::SharedDtor() { + if (this != internal_default_instance()) delete window_; + if (this != internal_default_instance()) delete shade_; +} + +void VehicleCabinDoorRow1Right::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1Right& VehicleCabinDoorRow1Right::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1Right_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1Right::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && window_ != nullptr) { + delete window_; + } + window_ = nullptr; + if (GetArenaNoVirtual() == nullptr && shade_ != nullptr) { + delete shade_; + } + shade_ = nullptr; + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1Right::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow1RightWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_window(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockActive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow1RightShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1Right::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islocked(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1RightWindow Window = 3; + if (this->has_window()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::window(this), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_ischildlockactive(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1RightShade Shade = 5; + if (this->has_shade()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::shade(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1Right) + return target; +} + +size_t VehicleCabinDoorRow1Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow1RightWindow Window = 3; + if (this->has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *window_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow1RightShade Shade = 5; + if (this->has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *shade_); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1Right::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1Right* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1Right>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1Right) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1Right) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1Right::MergeFrom(const VehicleCabinDoorRow1Right& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_window()) { + _internal_mutable_window()->::com::vehicle::messages::VehicleCabinDoorRow1RightWindow::MergeFrom(from._internal_window()); + } + if (from.has_shade()) { + _internal_mutable_shade()->::com::vehicle::messages::VehicleCabinDoorRow1RightShade::MergeFrom(from._internal_shade()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.islocked() != 0) { + _internal_set_islocked(from._internal_islocked()); + } + if (from.ischildlockactive() != 0) { + _internal_set_ischildlockactive(from._internal_ischildlockactive()); + } +} + +void VehicleCabinDoorRow1Right::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1Right::CopyFrom(const VehicleCabinDoorRow1Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1Right::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1Right::InternalSwap(VehicleCabinDoorRow1Right* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(window_, other->window_); + swap(shade_, other->shade_); + swap(isopen_, other->isopen_); + swap(islocked_, other->islocked_); + swap(ischildlockactive_, other->ischildlockactive_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1Right::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1RightWindow::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow1RightWindow::_Internal { + public: +}; + +VehicleCabinDoorRow1RightWindow::VehicleCabinDoorRow1RightWindow() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) +} +VehicleCabinDoorRow1RightWindow::VehicleCabinDoorRow1RightWindow(const VehicleCabinDoorRow1RightWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + ::memcpy(&position_, &from.position_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) +} + +void VehicleCabinDoorRow1RightWindow::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); +} + +VehicleCabinDoorRow1RightWindow::~VehicleCabinDoorRow1RightWindow() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + SharedDtor(); +} + +void VehicleCabinDoorRow1RightWindow::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow1RightWindow::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1RightWindow& VehicleCabinDoorRow1RightWindow::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1RightWindow_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1RightWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1RightWindow::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow1RightWindow.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1RightWindow::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow1RightWindow.Switch"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_switch_(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + return target; +} + +size_t VehicleCabinDoorRow1RightWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1RightWindow::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1RightWindow* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1RightWindow>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1RightWindow::MergeFrom(const VehicleCabinDoorRow1RightWindow& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.ischildlockengaged() != 0) { + _internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } +} + +void VehicleCabinDoorRow1RightWindow::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1RightWindow::CopyFrom(const VehicleCabinDoorRow1RightWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1RightWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1RightWindow::InternalSwap(VehicleCabinDoorRow1RightWindow* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); + swap(isopen_, other->isopen_); + swap(ischildlockengaged_, other->ischildlockengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1RightWindow::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow1RightShade::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow1RightShade::_Internal { + public: +}; + +VehicleCabinDoorRow1RightShade::VehicleCabinDoorRow1RightShade() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow1RightShade) +} +VehicleCabinDoorRow1RightShade::VehicleCabinDoorRow1RightShade(const VehicleCabinDoorRow1RightShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow1RightShade) +} + +void VehicleCabinDoorRow1RightShade::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; +} + +VehicleCabinDoorRow1RightShade::~VehicleCabinDoorRow1RightShade() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + SharedDtor(); +} + +void VehicleCabinDoorRow1RightShade::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow1RightShade::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow1RightShade& VehicleCabinDoorRow1RightShade::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow1RightShade_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow1RightShade::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow1RightShade::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow1RightShade.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow1RightShade::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow1RightShade.Switch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_switch_(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + return target; +} + +size_t VehicleCabinDoorRow1RightShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow1RightShade::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow1RightShade* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow1RightShade>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow1RightShade::MergeFrom(const VehicleCabinDoorRow1RightShade& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinDoorRow1RightShade::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow1RightShade::CopyFrom(const VehicleCabinDoorRow1RightShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow1RightShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow1RightShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow1RightShade::InternalSwap(VehicleCabinDoorRow1RightShade* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow1RightShade::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoorRow2_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2Left*>( + ::com::vehicle::messages::VehicleCabinDoorRow2Left::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoorRow2_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2Right*>( + ::com::vehicle::messages::VehicleCabinDoorRow2Right::internal_default_instance()); +} +class VehicleCabinDoorRow2::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow2Left& left(const VehicleCabinDoorRow2* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow2Right& right(const VehicleCabinDoorRow2* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow2Left& +VehicleCabinDoorRow2::_Internal::left(const VehicleCabinDoorRow2* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow2Right& +VehicleCabinDoorRow2::_Internal::right(const VehicleCabinDoorRow2* msg) { + return *msg->right_; +} +VehicleCabinDoorRow2::VehicleCabinDoorRow2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2) +} +VehicleCabinDoorRow2::VehicleCabinDoorRow2(const VehicleCabinDoorRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleCabinDoorRow2Left(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleCabinDoorRow2Right(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2) +} + +void VehicleCabinDoorRow2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleCabinDoorRow2::~VehicleCabinDoorRow2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2) + SharedDtor(); +} + +void VehicleCabinDoorRow2::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleCabinDoorRow2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2& VehicleCabinDoorRow2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinDoorRow2Left Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow2Right Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow2Left Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2Right Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2) + return target; +} + +size_t VehicleCabinDoorRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow2Left Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2Right Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2::MergeFrom(const VehicleCabinDoorRow2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleCabinDoorRow2Left::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleCabinDoorRow2Right::MergeFrom(from._internal_right()); + } +} + +void VehicleCabinDoorRow2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2::CopyFrom(const VehicleCabinDoorRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2::InternalSwap(VehicleCabinDoorRow2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2Left::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoorRow2Left_default_instance_._instance.get_mutable()->window_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow*>( + ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoorRow2Left_default_instance_._instance.get_mutable()->shade_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade*>( + ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade::internal_default_instance()); +} +class VehicleCabinDoorRow2Left::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow& window(const VehicleCabinDoorRow2Left* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade& shade(const VehicleCabinDoorRow2Left* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow& +VehicleCabinDoorRow2Left::_Internal::window(const VehicleCabinDoorRow2Left* msg) { + return *msg->window_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade& +VehicleCabinDoorRow2Left::_Internal::shade(const VehicleCabinDoorRow2Left* msg) { + return *msg->shade_; +} +VehicleCabinDoorRow2Left::VehicleCabinDoorRow2Left() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2Left) +} +VehicleCabinDoorRow2Left::VehicleCabinDoorRow2Left(const VehicleCabinDoorRow2Left& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_window()) { + window_ = new ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow(*from.window_); + } else { + window_ = nullptr; + } + if (from._internal_has_shade()) { + shade_ = new ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade(*from.shade_); + } else { + shade_ = nullptr; + } + ::memcpy(&isopen_, &from.isopen_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2Left) +} + +void VehicleCabinDoorRow2Left::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto.base); + ::memset(&window_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&window_)) + sizeof(ischildlockactive_)); +} + +VehicleCabinDoorRow2Left::~VehicleCabinDoorRow2Left() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2Left) + SharedDtor(); +} + +void VehicleCabinDoorRow2Left::SharedDtor() { + if (this != internal_default_instance()) delete window_; + if (this != internal_default_instance()) delete shade_; +} + +void VehicleCabinDoorRow2Left::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2Left& VehicleCabinDoorRow2Left::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2Left_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2Left::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && window_ != nullptr) { + delete window_; + } + window_ = nullptr; + if (GetArenaNoVirtual() == nullptr && shade_ != nullptr) { + delete shade_; + } + shade_ = nullptr; + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2Left::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow2LeftWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_window(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockActive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow2LeftShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2Left::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islocked(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2LeftWindow Window = 3; + if (this->has_window()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::window(this), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_ischildlockactive(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2LeftShade Shade = 5; + if (this->has_shade()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::shade(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2Left) + return target; +} + +size_t VehicleCabinDoorRow2Left::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow2LeftWindow Window = 3; + if (this->has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *window_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2LeftShade Shade = 5; + if (this->has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *shade_); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2Left::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2Left* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2Left>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2Left) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2Left) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2Left::MergeFrom(const VehicleCabinDoorRow2Left& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_window()) { + _internal_mutable_window()->::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow::MergeFrom(from._internal_window()); + } + if (from.has_shade()) { + _internal_mutable_shade()->::com::vehicle::messages::VehicleCabinDoorRow2LeftShade::MergeFrom(from._internal_shade()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.islocked() != 0) { + _internal_set_islocked(from._internal_islocked()); + } + if (from.ischildlockactive() != 0) { + _internal_set_ischildlockactive(from._internal_ischildlockactive()); + } +} + +void VehicleCabinDoorRow2Left::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2Left::CopyFrom(const VehicleCabinDoorRow2Left& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2Left) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2Left::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2Left::InternalSwap(VehicleCabinDoorRow2Left* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(window_, other->window_); + swap(shade_, other->shade_); + swap(isopen_, other->isopen_); + swap(islocked_, other->islocked_); + swap(ischildlockactive_, other->ischildlockactive_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2Left::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2LeftWindow::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow2LeftWindow::_Internal { + public: +}; + +VehicleCabinDoorRow2LeftWindow::VehicleCabinDoorRow2LeftWindow() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) +} +VehicleCabinDoorRow2LeftWindow::VehicleCabinDoorRow2LeftWindow(const VehicleCabinDoorRow2LeftWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + ::memcpy(&position_, &from.position_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) +} + +void VehicleCabinDoorRow2LeftWindow::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); +} + +VehicleCabinDoorRow2LeftWindow::~VehicleCabinDoorRow2LeftWindow() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + SharedDtor(); +} + +void VehicleCabinDoorRow2LeftWindow::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow2LeftWindow::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2LeftWindow& VehicleCabinDoorRow2LeftWindow::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2LeftWindow_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2LeftWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2LeftWindow::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow2LeftWindow.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2LeftWindow::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow2LeftWindow.Switch"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_switch_(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + return target; +} + +size_t VehicleCabinDoorRow2LeftWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2LeftWindow::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2LeftWindow* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2LeftWindow>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2LeftWindow::MergeFrom(const VehicleCabinDoorRow2LeftWindow& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.ischildlockengaged() != 0) { + _internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } +} + +void VehicleCabinDoorRow2LeftWindow::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2LeftWindow::CopyFrom(const VehicleCabinDoorRow2LeftWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2LeftWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2LeftWindow::InternalSwap(VehicleCabinDoorRow2LeftWindow* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); + swap(isopen_, other->isopen_); + swap(ischildlockengaged_, other->ischildlockengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2LeftWindow::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2LeftShade::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow2LeftShade::_Internal { + public: +}; + +VehicleCabinDoorRow2LeftShade::VehicleCabinDoorRow2LeftShade() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) +} +VehicleCabinDoorRow2LeftShade::VehicleCabinDoorRow2LeftShade(const VehicleCabinDoorRow2LeftShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) +} + +void VehicleCabinDoorRow2LeftShade::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; +} + +VehicleCabinDoorRow2LeftShade::~VehicleCabinDoorRow2LeftShade() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + SharedDtor(); +} + +void VehicleCabinDoorRow2LeftShade::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow2LeftShade::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2LeftShade& VehicleCabinDoorRow2LeftShade::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2LeftShade_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2LeftShade::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2LeftShade::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow2LeftShade.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2LeftShade::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow2LeftShade.Switch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_switch_(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + return target; +} + +size_t VehicleCabinDoorRow2LeftShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2LeftShade::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2LeftShade* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2LeftShade>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2LeftShade::MergeFrom(const VehicleCabinDoorRow2LeftShade& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinDoorRow2LeftShade::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2LeftShade::CopyFrom(const VehicleCabinDoorRow2LeftShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2LeftShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2LeftShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2LeftShade::InternalSwap(VehicleCabinDoorRow2LeftShade* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2LeftShade::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2Right::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinDoorRow2Right_default_instance_._instance.get_mutable()->window_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow*>( + ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinDoorRow2Right_default_instance_._instance.get_mutable()->shade_ = const_cast< ::com::vehicle::messages::VehicleCabinDoorRow2RightShade*>( + ::com::vehicle::messages::VehicleCabinDoorRow2RightShade::internal_default_instance()); +} +class VehicleCabinDoorRow2Right::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow& window(const VehicleCabinDoorRow2Right* msg); + static const ::com::vehicle::messages::VehicleCabinDoorRow2RightShade& shade(const VehicleCabinDoorRow2Right* msg); +}; + +const ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow& +VehicleCabinDoorRow2Right::_Internal::window(const VehicleCabinDoorRow2Right* msg) { + return *msg->window_; +} +const ::com::vehicle::messages::VehicleCabinDoorRow2RightShade& +VehicleCabinDoorRow2Right::_Internal::shade(const VehicleCabinDoorRow2Right* msg) { + return *msg->shade_; +} +VehicleCabinDoorRow2Right::VehicleCabinDoorRow2Right() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2Right) +} +VehicleCabinDoorRow2Right::VehicleCabinDoorRow2Right(const VehicleCabinDoorRow2Right& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_window()) { + window_ = new ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow(*from.window_); + } else { + window_ = nullptr; + } + if (from._internal_has_shade()) { + shade_ = new ::com::vehicle::messages::VehicleCabinDoorRow2RightShade(*from.shade_); + } else { + shade_ = nullptr; + } + ::memcpy(&isopen_, &from.isopen_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2Right) +} + +void VehicleCabinDoorRow2Right::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto.base); + ::memset(&window_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&window_)) + sizeof(ischildlockactive_)); +} + +VehicleCabinDoorRow2Right::~VehicleCabinDoorRow2Right() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2Right) + SharedDtor(); +} + +void VehicleCabinDoorRow2Right::SharedDtor() { + if (this != internal_default_instance()) delete window_; + if (this != internal_default_instance()) delete shade_; +} + +void VehicleCabinDoorRow2Right::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2Right& VehicleCabinDoorRow2Right::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2Right_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2Right::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && window_ != nullptr) { + delete window_; + } + window_ = nullptr; + if (GetArenaNoVirtual() == nullptr && shade_ != nullptr) { + delete shade_; + } + shade_ = nullptr; + ::memset(&isopen_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockactive_) - + reinterpret_cast<char*>(&isopen_)) + sizeof(ischildlockactive_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2Right::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLocked = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islocked_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow2RightWindow Window = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_window(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockActive = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + ischildlockactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinDoorRow2RightShade Shade = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_shade(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2Right::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islocked(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2RightWindow Window = 3; + if (this->has_window()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::window(this), target, stream); + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_ischildlockactive(), target); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2RightShade Shade = 5; + if (this->has_shade()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::shade(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2Right) + return target; +} + +size_t VehicleCabinDoorRow2Right::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinDoorRow2RightWindow Window = 3; + if (this->has_window()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *window_); + } + + // .com.vehicle.messages.VehicleCabinDoorRow2RightShade Shade = 5; + if (this->has_shade()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *shade_); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsLocked = 2; + if (this->islocked() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockActive = 4; + if (this->ischildlockactive() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2Right::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2Right* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2Right>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2Right) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2Right) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2Right::MergeFrom(const VehicleCabinDoorRow2Right& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_window()) { + _internal_mutable_window()->::com::vehicle::messages::VehicleCabinDoorRow2RightWindow::MergeFrom(from._internal_window()); + } + if (from.has_shade()) { + _internal_mutable_shade()->::com::vehicle::messages::VehicleCabinDoorRow2RightShade::MergeFrom(from._internal_shade()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.islocked() != 0) { + _internal_set_islocked(from._internal_islocked()); + } + if (from.ischildlockactive() != 0) { + _internal_set_ischildlockactive(from._internal_ischildlockactive()); + } +} + +void VehicleCabinDoorRow2Right::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2Right::CopyFrom(const VehicleCabinDoorRow2Right& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2Right) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2Right::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2Right::InternalSwap(VehicleCabinDoorRow2Right* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(window_, other->window_); + swap(shade_, other->shade_); + swap(isopen_, other->isopen_); + swap(islocked_, other->islocked_); + swap(ischildlockactive_, other->ischildlockactive_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2Right::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2RightWindow::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow2RightWindow::_Internal { + public: +}; + +VehicleCabinDoorRow2RightWindow::VehicleCabinDoorRow2RightWindow() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) +} +VehicleCabinDoorRow2RightWindow::VehicleCabinDoorRow2RightWindow(const VehicleCabinDoorRow2RightWindow& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + ::memcpy(&position_, &from.position_, + static_cast<size_t>(reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) +} + +void VehicleCabinDoorRow2RightWindow::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); +} + +VehicleCabinDoorRow2RightWindow::~VehicleCabinDoorRow2RightWindow() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + SharedDtor(); +} + +void VehicleCabinDoorRow2RightWindow::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow2RightWindow::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2RightWindow& VehicleCabinDoorRow2RightWindow::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2RightWindow_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2RightWindow::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&position_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&ischildlockengaged_) - + reinterpret_cast<char*>(&position_)) + sizeof(ischildlockengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2RightWindow::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOpen = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isopen_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsChildLockEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + ischildlockengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Switch = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow2RightWindow.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2RightWindow::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOpen = 1; + if (this->isopen() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isopen(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_ischildlockengaged(), target); + } + + // string Switch = 4; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow2RightWindow.Switch"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_switch_(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + return target; +} + +size_t VehicleCabinDoorRow2RightWindow::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 4; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // bool IsOpen = 1; + if (this->isopen() != 0) { + total_size += 1 + 1; + } + + // bool IsChildLockEngaged = 3; + if (this->ischildlockengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2RightWindow::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2RightWindow* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2RightWindow>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2RightWindow::MergeFrom(const VehicleCabinDoorRow2RightWindow& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.isopen() != 0) { + _internal_set_isopen(from._internal_isopen()); + } + if (from.ischildlockengaged() != 0) { + _internal_set_ischildlockengaged(from._internal_ischildlockengaged()); + } +} + +void VehicleCabinDoorRow2RightWindow::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2RightWindow::CopyFrom(const VehicleCabinDoorRow2RightWindow& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightWindow) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2RightWindow::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2RightWindow::InternalSwap(VehicleCabinDoorRow2RightWindow* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); + swap(isopen_, other->isopen_); + swap(ischildlockengaged_, other->ischildlockengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2RightWindow::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinDoorRow2RightShade::InitAsDefaultInstance() { +} +class VehicleCabinDoorRow2RightShade::_Internal { + public: +}; + +VehicleCabinDoorRow2RightShade::VehicleCabinDoorRow2RightShade() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinDoorRow2RightShade) +} +VehicleCabinDoorRow2RightShade::VehicleCabinDoorRow2RightShade(const VehicleCabinDoorRow2RightShade& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_switch_().empty()) { + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + position_ = from.position_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinDoorRow2RightShade) +} + +void VehicleCabinDoorRow2RightShade::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto.base); + switch__.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; +} + +VehicleCabinDoorRow2RightShade::~VehicleCabinDoorRow2RightShade() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + SharedDtor(); +} + +void VehicleCabinDoorRow2RightShade::SharedDtor() { + switch__.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinDoorRow2RightShade::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinDoorRow2RightShade& VehicleCabinDoorRow2RightShade::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinDoorRow2RightShade_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinDoorRow2RightShade::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + switch__.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + position_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinDoorRow2RightShade::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Switch = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_switch_(), ptr, ctx, "com.vehicle.messages.VehicleCabinDoorRow2RightShade.Switch"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinDoorRow2RightShade::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_switch_().data(), static_cast<int>(this->_internal_switch_().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinDoorRow2RightShade.Switch"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_switch_(), target); + } + + // uint32 Position = 2; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + return target; +} + +size_t VehicleCabinDoorRow2RightShade::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Switch = 1; + if (this->switch_().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_switch_()); + } + + // uint32 Position = 2; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinDoorRow2RightShade::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinDoorRow2RightShade* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinDoorRow2RightShade>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + MergeFrom(*source); + } +} + +void VehicleCabinDoorRow2RightShade::MergeFrom(const VehicleCabinDoorRow2RightShade& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.switch_().size() > 0) { + + switch__.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.switch__); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } +} + +void VehicleCabinDoorRow2RightShade::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinDoorRow2RightShade::CopyFrom(const VehicleCabinDoorRow2RightShade& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinDoorRow2RightShade) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinDoorRow2RightShade::IsInitialized() const { + return true; +} + +void VehicleCabinDoorRow2RightShade::InternalSwap(VehicleCabinDoorRow2RightShade* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + switch__.Swap(&other->switch__, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(position_, other->position_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinDoorRow2RightShade::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeat::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeat_default_instance_._instance.get_mutable()->row1_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1*>( + ::com::vehicle::messages::VehicleCabinSeatRow1::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeat_default_instance_._instance.get_mutable()->row2_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2*>( + ::com::vehicle::messages::VehicleCabinSeatRow2::internal_default_instance()); +} +class VehicleCabinSeat::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1& row1(const VehicleCabinSeat* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2& row2(const VehicleCabinSeat* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1& +VehicleCabinSeat::_Internal::row1(const VehicleCabinSeat* msg) { + return *msg->row1_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2& +VehicleCabinSeat::_Internal::row2(const VehicleCabinSeat* msg) { + return *msg->row2_; +} +VehicleCabinSeat::VehicleCabinSeat() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeat) +} +VehicleCabinSeat::VehicleCabinSeat(const VehicleCabinSeat& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_row1()) { + row1_ = new ::com::vehicle::messages::VehicleCabinSeatRow1(*from.row1_); + } else { + row1_ = nullptr; + } + if (from._internal_has_row2()) { + row2_ = new ::com::vehicle::messages::VehicleCabinSeatRow2(*from.row2_); + } else { + row2_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeat) +} + +void VehicleCabinSeat::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeat_V2C_2fvspec_2eproto.base); + ::memset(&row1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&row2_) - + reinterpret_cast<char*>(&row1_)) + sizeof(row2_)); +} + +VehicleCabinSeat::~VehicleCabinSeat() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeat) + SharedDtor(); +} + +void VehicleCabinSeat::SharedDtor() { + if (this != internal_default_instance()) delete row1_; + if (this != internal_default_instance()) delete row2_; +} + +void VehicleCabinSeat::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeat& VehicleCabinSeat::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeat_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeat::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeat) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && row1_ != nullptr) { + delete row1_; + } + row1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row2_ != nullptr) { + delete row2_; + } + row2_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeat::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeat::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeat) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1 Row1 = 1; + if (this->has_row1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::row1(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2 Row2 = 2; + if (this->has_row2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::row2(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeat) + return target; +} + +size_t VehicleCabinSeat::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeat) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1 Row1 = 1; + if (this->has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row1_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2 Row2 = 2; + if (this->has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row2_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeat::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeat) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeat* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeat>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeat) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeat) + MergeFrom(*source); + } +} + +void VehicleCabinSeat::MergeFrom(const VehicleCabinSeat& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeat) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_row1()) { + _internal_mutable_row1()->::com::vehicle::messages::VehicleCabinSeatRow1::MergeFrom(from._internal_row1()); + } + if (from.has_row2()) { + _internal_mutable_row2()->::com::vehicle::messages::VehicleCabinSeatRow2::MergeFrom(from._internal_row2()); + } +} + +void VehicleCabinSeat::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeat::CopyFrom(const VehicleCabinSeat& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeat) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeat::IsInitialized() const { + return true; +} + +void VehicleCabinSeat::InternalSwap(VehicleCabinSeat* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(row1_, other->row1_); + swap(row2_, other->row2_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeat::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1_default_instance_._instance.get_mutable()->pos1_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1_default_instance_._instance.get_mutable()->pos2_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1_default_instance_._instance.get_mutable()->pos3_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3::internal_default_instance()); +} +class VehicleCabinSeatRow1::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1& pos1(const VehicleCabinSeatRow1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2& pos2(const VehicleCabinSeatRow1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3& pos3(const VehicleCabinSeatRow1* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1& +VehicleCabinSeatRow1::_Internal::pos1(const VehicleCabinSeatRow1* msg) { + return *msg->pos1_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2& +VehicleCabinSeatRow1::_Internal::pos2(const VehicleCabinSeatRow1* msg) { + return *msg->pos2_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3& +VehicleCabinSeatRow1::_Internal::pos3(const VehicleCabinSeatRow1* msg) { + return *msg->pos3_; +} +VehicleCabinSeatRow1::VehicleCabinSeatRow1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1) +} +VehicleCabinSeatRow1::VehicleCabinSeatRow1(const VehicleCabinSeatRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_pos1()) { + pos1_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1(*from.pos1_); + } else { + pos1_ = nullptr; + } + if (from._internal_has_pos2()) { + pos2_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2(*from.pos2_); + } else { + pos2_ = nullptr; + } + if (from._internal_has_pos3()) { + pos3_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3(*from.pos3_); + } else { + pos3_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1) +} + +void VehicleCabinSeatRow1::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto.base); + ::memset(&pos1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&pos3_) - + reinterpret_cast<char*>(&pos1_)) + sizeof(pos3_)); +} + +VehicleCabinSeatRow1::~VehicleCabinSeatRow1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1) + SharedDtor(); +} + +void VehicleCabinSeatRow1::SharedDtor() { + if (this != internal_default_instance()) delete pos1_; + if (this != internal_default_instance()) delete pos2_; + if (this != internal_default_instance()) delete pos3_; +} + +void VehicleCabinSeatRow1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1& VehicleCabinSeatRow1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && pos1_ != nullptr) { + delete pos1_; + } + pos1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && pos2_ != nullptr) { + delete pos2_; + } + pos2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && pos3_ != nullptr) { + delete pos3_; + } + pos3_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1 Pos1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2 Pos2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_pos2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3 Pos3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_pos3(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1 Pos1 = 1; + if (this->has_pos1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::pos1(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2 Pos2 = 2; + if (this->has_pos2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::pos2(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3 Pos3 = 3; + if (this->has_pos3()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::pos3(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1) + return target; +} + +size_t VehicleCabinSeatRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1 Pos1 = 1; + if (this->has_pos1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *pos1_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2 Pos2 = 2; + if (this->has_pos2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *pos2_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3 Pos3 = 3; + if (this->has_pos3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *pos3_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1::MergeFrom(const VehicleCabinSeatRow1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_pos1()) { + _internal_mutable_pos1()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1::MergeFrom(from._internal_pos1()); + } + if (from.has_pos2()) { + _internal_mutable_pos2()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2::MergeFrom(from._internal_pos2()); + } + if (from.has_pos3()) { + _internal_mutable_pos3()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3::MergeFrom(from._internal_pos3()); + } +} + +void VehicleCabinSeatRow1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1::CopyFrom(const VehicleCabinSeatRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1::InternalSwap(VehicleCabinSeatRow1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pos1_, other->pos1_); + swap(pos2_, other->pos2_); + swap(pos3_, other->pos3_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_._instance.get_mutable()->occupant_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_._instance.get_mutable()->airbag_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1_default_instance_._instance.get_mutable()->switch__ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos1::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant& occupant(const VehicleCabinSeatRow1Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest& backrest(const VehicleCabinSeatRow1Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating& seating(const VehicleCabinSeatRow1Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest& headrest(const VehicleCabinSeatRow1Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag& airbag(const VehicleCabinSeatRow1Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch& switch_(const VehicleCabinSeatRow1Pos1* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant& +VehicleCabinSeatRow1Pos1::_Internal::occupant(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->occupant_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest& +VehicleCabinSeatRow1Pos1::_Internal::backrest(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating& +VehicleCabinSeatRow1Pos1::_Internal::seating(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest& +VehicleCabinSeatRow1Pos1::_Internal::headrest(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag& +VehicleCabinSeatRow1Pos1::_Internal::airbag(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->airbag_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch& +VehicleCabinSeatRow1Pos1::_Internal::switch_(const VehicleCabinSeatRow1Pos1* msg) { + return *msg->switch__; +} +VehicleCabinSeatRow1Pos1::VehicleCabinSeatRow1Pos1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1) +} +VehicleCabinSeatRow1Pos1::VehicleCabinSeatRow1Pos1(const VehicleCabinSeatRow1Pos1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_occupant()) { + occupant_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant(*from.occupant_); + } else { + occupant_ = nullptr; + } + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_airbag()) { + airbag_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag(*from.airbag_); + } else { + airbag_ = nullptr; + } + if (from._internal_has_switch_()) { + switch__ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch(*from.switch__); + } else { + switch__ = nullptr; + } + ::memcpy(&isoccupied_, &from.isoccupied_, + static_cast<size_t>(reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1) +} + +void VehicleCabinSeatRow1Pos1::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto.base); + ::memset(&occupant_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&occupant_)) + sizeof(tilt_)); +} + +VehicleCabinSeatRow1Pos1::~VehicleCabinSeatRow1Pos1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1::SharedDtor() { + if (this != internal_default_instance()) delete occupant_; + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete airbag_; + if (this != internal_default_instance()) delete switch__; +} + +void VehicleCabinSeatRow1Pos1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1& VehicleCabinSeatRow1Pos1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && occupant_ != nullptr) { + delete occupant_; + } + occupant_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && airbag_ != nullptr) { + delete airbag_; + } + airbag_ = nullptr; + if (GetArenaNoVirtual() == nullptr && switch__ != nullptr) { + delete switch__; + } + switch__ = nullptr; + ::memset(&isoccupied_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_occupant(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBelted = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isoccupied(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant Occupant = 2; + if (this->has_occupant()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::occupant(this), target, stream); + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->heating() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_height(), target); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_tilt(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag Airbag = 12; + if (this->has_airbag()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::airbag(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch Switch = 13; + if (this->has_switch_()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::switch_(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + return target; +} + +size_t VehicleCabinSeatRow1Pos1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant Occupant = 2; + if (this->has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *occupant_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag Airbag = 12; + if (this->has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *airbag_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch Switch = 13; + if (this->has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *switch__); + } + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + total_size += 1 + 1; + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + total_size += 1 + 1; + } + + // int32 Heating = 4; + if (this->heating() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1::MergeFrom(const VehicleCabinSeatRow1Pos1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_occupant()) { + _internal_mutable_occupant()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant::MergeFrom(from._internal_occupant()); + } + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest::MergeFrom(from._internal_headrest()); + } + if (from.has_airbag()) { + _internal_mutable_airbag()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag::MergeFrom(from._internal_airbag()); + } + if (from.has_switch_()) { + _internal_mutable_switch_()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch::MergeFrom(from._internal_switch_()); + } + if (from.isoccupied() != 0) { + _internal_set_isoccupied(from._internal_isoccupied()); + } + if (from.isbelted() != 0) { + _internal_set_isbelted(from._internal_isbelted()); + } + if (from.heating() != 0) { + _internal_set_heating(from._internal_heating()); + } + if (from.massage() != 0) { + _internal_set_massage(from._internal_massage()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.tilt() <= 0 && from.tilt() >= 0)) { + _internal_set_tilt(from._internal_tilt()); + } +} + +void VehicleCabinSeatRow1Pos1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1::CopyFrom(const VehicleCabinSeatRow1Pos1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1::InternalSwap(VehicleCabinSeatRow1Pos1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(occupant_, other->occupant_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(airbag_, other->airbag_); + swap(switch__, other->switch__); + swap(isoccupied_, other->isoccupied_); + swap(isbelted_, other->isbelted_); + swap(heating_, other->heating_); + swap(massage_, other->massage_); + swap(position_, other->position_); + swap(height_, other->height_); + swap(tilt_, other->tilt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1Occupant::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Occupant_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos1Occupant::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier& identifier(const VehicleCabinSeatRow1Pos1Occupant* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier& +VehicleCabinSeatRow1Pos1Occupant::_Internal::identifier(const VehicleCabinSeatRow1Pos1Occupant* msg) { + return *msg->identifier_; +} +VehicleCabinSeatRow1Pos1Occupant::VehicleCabinSeatRow1Pos1Occupant() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) +} +VehicleCabinSeatRow1Pos1Occupant::VehicleCabinSeatRow1Pos1Occupant(const VehicleCabinSeatRow1Pos1Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) +} + +void VehicleCabinSeatRow1Pos1Occupant::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto.base); + identifier_ = nullptr; +} + +VehicleCabinSeatRow1Pos1Occupant::~VehicleCabinSeatRow1Pos1Occupant() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1Occupant::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleCabinSeatRow1Pos1Occupant::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1Occupant& VehicleCabinSeatRow1Pos1Occupant::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1Occupant_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1Occupant::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1Occupant::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + return target; +} + +size_t VehicleCabinSeatRow1Pos1Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1Occupant::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1Occupant* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1Occupant>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1Occupant::MergeFrom(const VehicleCabinSeatRow1Pos1Occupant& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier::MergeFrom(from._internal_identifier()); + } +} + +void VehicleCabinSeatRow1Pos1Occupant::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1Occupant::CopyFrom(const VehicleCabinSeatRow1Pos1Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Occupant::InternalSwap(VehicleCabinSeatRow1Pos1Occupant* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Occupant::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1OccupantIdentifier::VehicleCabinSeatRow1Pos1OccupantIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) +} +VehicleCabinSeatRow1Pos1OccupantIdentifier::VehicleCabinSeatRow1Pos1OccupantIdentifier(const VehicleCabinSeatRow1Pos1OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinSeatRow1Pos1OccupantIdentifier::~VehicleCabinSeatRow1Pos1OccupantIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1OccupantIdentifier& VehicleCabinSeatRow1Pos1OccupantIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1OccupantIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1OccupantIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + return target; +} + +size_t VehicleCabinSeatRow1Pos1OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1OccupantIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1OccupantIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::MergeFrom(const VehicleCabinSeatRow1Pos1OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow1Pos1OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1OccupantIdentifier::InternalSwap(VehicleCabinSeatRow1Pos1OccupantIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1OccupantIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1Backrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Backrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Backrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos1Backrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos1Backrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos1Backrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar& +VehicleCabinSeatRow1Pos1Backrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos1Backrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster& +VehicleCabinSeatRow1Pos1Backrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos1Backrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow1Pos1Backrest::VehicleCabinSeatRow1Pos1Backrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) +} +VehicleCabinSeatRow1Pos1Backrest::VehicleCabinSeatRow1Pos1Backrest(const VehicleCabinSeatRow1Pos1Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + recline_ = from.recline_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) +} + +void VehicleCabinSeatRow1Pos1Backrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&recline_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(recline_)); +} + +VehicleCabinSeatRow1Pos1Backrest::~VehicleCabinSeatRow1Pos1Backrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1Backrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow1Pos1Backrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1Backrest& VehicleCabinSeatRow1Pos1Backrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1Backrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + recline_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1Backrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1Backrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_recline(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos1Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1Backrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1Backrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1Backrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1Backrest::MergeFrom(const VehicleCabinSeatRow1Pos1Backrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (!(from.recline() <= 0 && from.recline() >= 0)) { + _internal_set_recline(from._internal_recline()); + } +} + +void VehicleCabinSeatRow1Pos1Backrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1Backrest::CopyFrom(const VehicleCabinSeatRow1Pos1Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Backrest::InternalSwap(VehicleCabinSeatRow1Pos1Backrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(recline_, other->recline_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Backrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1BackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1BackrestLumbar::VehicleCabinSeatRow1Pos1BackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) +} +VehicleCabinSeatRow1Pos1BackrestLumbar::VehicleCabinSeatRow1Pos1BackrestLumbar(const VehicleCabinSeatRow1Pos1BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&support_, &from.support_, + static_cast<size_t>(reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::SharedCtor() { + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); +} + +VehicleCabinSeatRow1Pos1BackrestLumbar::~VehicleCabinSeatRow1Pos1BackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1BackrestLumbar& VehicleCabinSeatRow1Pos1BackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1BackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1BackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1BackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow1Pos1BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Height = 2; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1BackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1BackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::MergeFrom(const VehicleCabinSeatRow1Pos1BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos1BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1BackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos1BackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); + swap(height_, other->height_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1BackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1BackrestSideBolster::VehicleCabinSeatRow1Pos1BackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) +} +VehicleCabinSeatRow1Pos1BackrestSideBolster::VehicleCabinSeatRow1Pos1BackrestSideBolster(const VehicleCabinSeatRow1Pos1BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + support_ = from.support_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::SharedCtor() { + support_ = 0; +} + +VehicleCabinSeatRow1Pos1BackrestSideBolster::~VehicleCabinSeatRow1Pos1BackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1BackrestSideBolster& VehicleCabinSeatRow1Pos1BackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1BackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + support_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1BackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1BackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow1Pos1BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1BackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1BackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::MergeFrom(const VehicleCabinSeatRow1Pos1BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos1BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1BackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos1BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1BackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1Seating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1Seating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1Seating::VehicleCabinSeatRow1Pos1Seating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) +} +VehicleCabinSeatRow1Pos1Seating::VehicleCabinSeatRow1Pos1Seating(const VehicleCabinSeatRow1Pos1Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + length_ = from.length_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) +} + +void VehicleCabinSeatRow1Pos1Seating::SharedCtor() { + length_ = 0u; +} + +VehicleCabinSeatRow1Pos1Seating::~VehicleCabinSeatRow1Pos1Seating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1Seating::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1Seating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1Seating& VehicleCabinSeatRow1Pos1Seating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1Seating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + length_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1Seating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1Seating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + return target; +} + +size_t VehicleCabinSeatRow1Pos1Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1Seating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1Seating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1Seating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1Seating::MergeFrom(const VehicleCabinSeatRow1Pos1Seating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } +} + +void VehicleCabinSeatRow1Pos1Seating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1Seating::CopyFrom(const VehicleCabinSeatRow1Pos1Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Seating::InternalSwap(VehicleCabinSeatRow1Pos1Seating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(length_, other->length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Seating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1Headrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1Headrest::VehicleCabinSeatRow1Pos1Headrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) +} +VehicleCabinSeatRow1Pos1Headrest::VehicleCabinSeatRow1Pos1Headrest(const VehicleCabinSeatRow1Pos1Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&height_, &from.height_, + static_cast<size_t>(reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) +} + +void VehicleCabinSeatRow1Pos1Headrest::SharedCtor() { + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); +} + +VehicleCabinSeatRow1Pos1Headrest::~VehicleCabinSeatRow1Pos1Headrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1Headrest::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1Headrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1Headrest& VehicleCabinSeatRow1Pos1Headrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1Headrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1Headrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1Headrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_height(), target); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos1Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1Headrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1Headrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1Headrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1Headrest::MergeFrom(const VehicleCabinSeatRow1Pos1Headrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.angle() <= 0 && from.angle() >= 0)) { + _internal_set_angle(from._internal_angle()); + } +} + +void VehicleCabinSeatRow1Pos1Headrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1Headrest::CopyFrom(const VehicleCabinSeatRow1Pos1Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Headrest::InternalSwap(VehicleCabinSeatRow1Pos1Headrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(height_, other->height_); + swap(angle_, other->angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Headrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1Airbag::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1Airbag::VehicleCabinSeatRow1Pos1Airbag() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) +} +VehicleCabinSeatRow1Pos1Airbag::VehicleCabinSeatRow1Pos1Airbag(const VehicleCabinSeatRow1Pos1Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isdeployed_ = from.isdeployed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) +} + +void VehicleCabinSeatRow1Pos1Airbag::SharedCtor() { + isdeployed_ = false; +} + +VehicleCabinSeatRow1Pos1Airbag::~VehicleCabinSeatRow1Pos1Airbag() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1Airbag::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1Airbag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1Airbag& VehicleCabinSeatRow1Pos1Airbag::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1Airbag_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isdeployed_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1Airbag::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1Airbag::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + return target; +} + +size_t VehicleCabinSeatRow1Pos1Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1Airbag::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1Airbag* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1Airbag>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1Airbag::MergeFrom(const VehicleCabinSeatRow1Pos1Airbag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isdeployed() != 0) { + _internal_set_isdeployed(from._internal_isdeployed()); + } +} + +void VehicleCabinSeatRow1Pos1Airbag::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1Airbag::CopyFrom(const VehicleCabinSeatRow1Pos1Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Airbag::InternalSwap(VehicleCabinSeatRow1Pos1Airbag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isdeployed_, other->isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Airbag::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1Switch::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Switch_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Switch_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Switch_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1Switch_default_instance_._instance.get_mutable()->massage_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos1Switch::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest& backrest(const VehicleCabinSeatRow1Pos1Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating& seating(const VehicleCabinSeatRow1Pos1Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest& headrest(const VehicleCabinSeatRow1Pos1Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage& massage(const VehicleCabinSeatRow1Pos1Switch* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest& +VehicleCabinSeatRow1Pos1Switch::_Internal::backrest(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating& +VehicleCabinSeatRow1Pos1Switch::_Internal::seating(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest& +VehicleCabinSeatRow1Pos1Switch::_Internal::headrest(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage& +VehicleCabinSeatRow1Pos1Switch::_Internal::massage(const VehicleCabinSeatRow1Pos1Switch* msg) { + return *msg->massage_; +} +VehicleCabinSeatRow1Pos1Switch::VehicleCabinSeatRow1Pos1Switch() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) +} +VehicleCabinSeatRow1Pos1Switch::VehicleCabinSeatRow1Pos1Switch(const VehicleCabinSeatRow1Pos1Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_massage()) { + massage_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage(*from.massage_); + } else { + massage_ = nullptr; + } + ::memcpy(&iswarmerengaged_, &from.iswarmerengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) +} + +void VehicleCabinSeatRow1Pos1Switch::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto.base); + ::memset(&backrest_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&backrest_)) + sizeof(istiltbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos1Switch::~VehicleCabinSeatRow1Pos1Switch() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1Switch::SharedDtor() { + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete massage_; +} + +void VehicleCabinSeatRow1Pos1Switch::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1Switch& VehicleCabinSeatRow1Pos1Switch::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1Switch_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && massage_ != nullptr) { + delete massage_; + } + massage_ = nullptr; + ::memset(&iswarmerengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1Switch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1Switch::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_istiltbackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage Massage = 12; + if (this->has_massage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::massage(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + return target; +} + +size_t VehicleCabinSeatRow1Pos1Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage Massage = 12; + if (this->has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1Switch::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1Switch* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1Switch>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1Switch::MergeFrom(const VehicleCabinSeatRow1Pos1Switch& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest::MergeFrom(from._internal_headrest()); + } + if (from.has_massage()) { + _internal_mutable_massage()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage::MergeFrom(from._internal_massage()); + } + if (from.iswarmerengaged() != 0) { + _internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from.iscoolerengaged() != 0) { + _internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.istiltforwardengaged() != 0) { + _internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from.istiltbackwardengaged() != 0) { + _internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos1Switch::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1Switch::CopyFrom(const VehicleCabinSeatRow1Pos1Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1Switch::InternalSwap(VehicleCabinSeatRow1Pos1Switch* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(massage_, other->massage_); + swap(iswarmerengaged_, other->iswarmerengaged_); + swap(iscoolerengaged_, other->iscoolerengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(istiltforwardengaged_, other->istiltforwardengaged_); + swap(istiltbackwardengaged_, other->istiltbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1Switch::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1SwitchBackrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos1SwitchBackrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos1SwitchBackrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& +VehicleCabinSeatRow1Pos1SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& +VehicleCabinSeatRow1Pos1SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos1SwitchBackrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow1Pos1SwitchBackrest::VehicleCabinSeatRow1Pos1SwitchBackrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) +} +VehicleCabinSeatRow1Pos1SwitchBackrest::VehicleCabinSeatRow1Pos1SwitchBackrest(const VehicleCabinSeatRow1Pos1SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + ::memcpy(&isreclineforwardengaged_, &from.isreclineforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(isreclinebackwardengaged_)); +} + +VehicleCabinSeatRow1Pos1SwitchBackrest::~VehicleCabinSeatRow1Pos1SwitchBackrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1SwitchBackrest& VehicleCabinSeatRow1Pos1SwitchBackrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1SwitchBackrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + ::memset(&isreclineforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchBackrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1SwitchBackrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isreclinebackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos1SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1SwitchBackrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1SwitchBackrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::MergeFrom(const VehicleCabinSeatRow1Pos1SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (from.isreclineforwardengaged() != 0) { + _internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from.isreclinebackwardengaged() != 0) { + _internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrest::InternalSwap(VehicleCabinSeatRow1Pos1SwitchBackrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(isreclineforwardengaged_, other->isreclineforwardengaged_); + swap(isreclinebackwardengaged_, other->isreclinebackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchBackrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) +} +VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar(const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); +} + +VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::~VehicleCabinSeatRow1Pos1SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1SwitchBackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::MergeFrom(const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos1SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchBackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) +} +VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster(const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); +} + +VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::~VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::MergeFrom(const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1SwitchSeating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchSeating::VehicleCabinSeatRow1Pos1SwitchSeating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) +} +VehicleCabinSeatRow1Pos1SwitchSeating::VehicleCabinSeatRow1Pos1SwitchSeating(const VehicleCabinSeatRow1Pos1SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isforwardengaged_, &from.isforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::SharedCtor() { + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos1SwitchSeating::~VehicleCabinSeatRow1Pos1SwitchSeating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1SwitchSeating& VehicleCabinSeatRow1Pos1SwitchSeating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1SwitchSeating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchSeating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1SwitchSeating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + return target; +} + +size_t VehicleCabinSeatRow1Pos1SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1SwitchSeating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1SwitchSeating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::MergeFrom(const VehicleCabinSeatRow1Pos1SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchSeating::InternalSwap(VehicleCabinSeatRow1Pos1SwitchSeating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchSeating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchHeadrest::VehicleCabinSeatRow1Pos1SwitchHeadrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) +} +VehicleCabinSeatRow1Pos1SwitchHeadrest::VehicleCabinSeatRow1Pos1SwitchHeadrest(const VehicleCabinSeatRow1Pos1SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isupengaged_, &from.isupengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::SharedCtor() { + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos1SwitchHeadrest::~VehicleCabinSeatRow1Pos1SwitchHeadrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1SwitchHeadrest& VehicleCabinSeatRow1Pos1SwitchHeadrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1SwitchHeadrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchHeadrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1SwitchHeadrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos1SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1SwitchHeadrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1SwitchHeadrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::MergeFrom(const VehicleCabinSeatRow1Pos1SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchHeadrest::InternalSwap(VehicleCabinSeatRow1Pos1SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchHeadrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos1SwitchMassage::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos1SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos1SwitchMassage::VehicleCabinSeatRow1Pos1SwitchMassage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) +} +VehicleCabinSeatRow1Pos1SwitchMassage::VehicleCabinSeatRow1Pos1SwitchMassage(const VehicleCabinSeatRow1Pos1SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isincreaseengaged_, &from.isincreaseengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::SharedCtor() { + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); +} + +VehicleCabinSeatRow1Pos1SwitchMassage::~VehicleCabinSeatRow1Pos1SwitchMassage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos1SwitchMassage& VehicleCabinSeatRow1Pos1SwitchMassage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos1SwitchMassage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos1SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos1SwitchMassage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos1SwitchMassage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + return target; +} + +size_t VehicleCabinSeatRow1Pos1SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos1SwitchMassage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos1SwitchMassage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::MergeFrom(const VehicleCabinSeatRow1Pos1SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isincreaseengaged() != 0) { + _internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from.isdecreaseengaged() != 0) { + _internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::CopyFrom(const VehicleCabinSeatRow1Pos1SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos1SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos1SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos1SwitchMassage::InternalSwap(VehicleCabinSeatRow1Pos1SwitchMassage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isincreaseengaged_, other->isincreaseengaged_); + swap(isdecreaseengaged_, other->isdecreaseengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos1SwitchMassage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_._instance.get_mutable()->occupant_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_._instance.get_mutable()->airbag_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2_default_instance_._instance.get_mutable()->switch__ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos2::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant& occupant(const VehicleCabinSeatRow1Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest& backrest(const VehicleCabinSeatRow1Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating& seating(const VehicleCabinSeatRow1Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest& headrest(const VehicleCabinSeatRow1Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag& airbag(const VehicleCabinSeatRow1Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch& switch_(const VehicleCabinSeatRow1Pos2* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant& +VehicleCabinSeatRow1Pos2::_Internal::occupant(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->occupant_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest& +VehicleCabinSeatRow1Pos2::_Internal::backrest(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating& +VehicleCabinSeatRow1Pos2::_Internal::seating(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest& +VehicleCabinSeatRow1Pos2::_Internal::headrest(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag& +VehicleCabinSeatRow1Pos2::_Internal::airbag(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->airbag_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch& +VehicleCabinSeatRow1Pos2::_Internal::switch_(const VehicleCabinSeatRow1Pos2* msg) { + return *msg->switch__; +} +VehicleCabinSeatRow1Pos2::VehicleCabinSeatRow1Pos2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2) +} +VehicleCabinSeatRow1Pos2::VehicleCabinSeatRow1Pos2(const VehicleCabinSeatRow1Pos2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_occupant()) { + occupant_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant(*from.occupant_); + } else { + occupant_ = nullptr; + } + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_airbag()) { + airbag_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag(*from.airbag_); + } else { + airbag_ = nullptr; + } + if (from._internal_has_switch_()) { + switch__ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch(*from.switch__); + } else { + switch__ = nullptr; + } + ::memcpy(&isoccupied_, &from.isoccupied_, + static_cast<size_t>(reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2) +} + +void VehicleCabinSeatRow1Pos2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto.base); + ::memset(&occupant_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&occupant_)) + sizeof(tilt_)); +} + +VehicleCabinSeatRow1Pos2::~VehicleCabinSeatRow1Pos2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2::SharedDtor() { + if (this != internal_default_instance()) delete occupant_; + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete airbag_; + if (this != internal_default_instance()) delete switch__; +} + +void VehicleCabinSeatRow1Pos2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2& VehicleCabinSeatRow1Pos2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && occupant_ != nullptr) { + delete occupant_; + } + occupant_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && airbag_ != nullptr) { + delete airbag_; + } + airbag_ = nullptr; + if (GetArenaNoVirtual() == nullptr && switch__ != nullptr) { + delete switch__; + } + switch__ = nullptr; + ::memset(&isoccupied_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_occupant(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBelted = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isoccupied(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant Occupant = 2; + if (this->has_occupant()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::occupant(this), target, stream); + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->heating() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_height(), target); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_tilt(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag Airbag = 12; + if (this->has_airbag()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::airbag(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch Switch = 13; + if (this->has_switch_()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::switch_(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + return target; +} + +size_t VehicleCabinSeatRow1Pos2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant Occupant = 2; + if (this->has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *occupant_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag Airbag = 12; + if (this->has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *airbag_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch Switch = 13; + if (this->has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *switch__); + } + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + total_size += 1 + 1; + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + total_size += 1 + 1; + } + + // int32 Heating = 4; + if (this->heating() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2::MergeFrom(const VehicleCabinSeatRow1Pos2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_occupant()) { + _internal_mutable_occupant()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant::MergeFrom(from._internal_occupant()); + } + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest::MergeFrom(from._internal_headrest()); + } + if (from.has_airbag()) { + _internal_mutable_airbag()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag::MergeFrom(from._internal_airbag()); + } + if (from.has_switch_()) { + _internal_mutable_switch_()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch::MergeFrom(from._internal_switch_()); + } + if (from.isoccupied() != 0) { + _internal_set_isoccupied(from._internal_isoccupied()); + } + if (from.isbelted() != 0) { + _internal_set_isbelted(from._internal_isbelted()); + } + if (from.heating() != 0) { + _internal_set_heating(from._internal_heating()); + } + if (from.massage() != 0) { + _internal_set_massage(from._internal_massage()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.tilt() <= 0 && from.tilt() >= 0)) { + _internal_set_tilt(from._internal_tilt()); + } +} + +void VehicleCabinSeatRow1Pos2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2::CopyFrom(const VehicleCabinSeatRow1Pos2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2::InternalSwap(VehicleCabinSeatRow1Pos2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(occupant_, other->occupant_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(airbag_, other->airbag_); + swap(switch__, other->switch__); + swap(isoccupied_, other->isoccupied_); + swap(isbelted_, other->isbelted_); + swap(heating_, other->heating_); + swap(massage_, other->massage_); + swap(position_, other->position_); + swap(height_, other->height_); + swap(tilt_, other->tilt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2Occupant::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Occupant_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos2Occupant::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier& identifier(const VehicleCabinSeatRow1Pos2Occupant* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier& +VehicleCabinSeatRow1Pos2Occupant::_Internal::identifier(const VehicleCabinSeatRow1Pos2Occupant* msg) { + return *msg->identifier_; +} +VehicleCabinSeatRow1Pos2Occupant::VehicleCabinSeatRow1Pos2Occupant() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) +} +VehicleCabinSeatRow1Pos2Occupant::VehicleCabinSeatRow1Pos2Occupant(const VehicleCabinSeatRow1Pos2Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) +} + +void VehicleCabinSeatRow1Pos2Occupant::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto.base); + identifier_ = nullptr; +} + +VehicleCabinSeatRow1Pos2Occupant::~VehicleCabinSeatRow1Pos2Occupant() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2Occupant::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleCabinSeatRow1Pos2Occupant::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2Occupant& VehicleCabinSeatRow1Pos2Occupant::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2Occupant_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2Occupant::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2Occupant::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + return target; +} + +size_t VehicleCabinSeatRow1Pos2Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2Occupant::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2Occupant* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2Occupant>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2Occupant::MergeFrom(const VehicleCabinSeatRow1Pos2Occupant& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier::MergeFrom(from._internal_identifier()); + } +} + +void VehicleCabinSeatRow1Pos2Occupant::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2Occupant::CopyFrom(const VehicleCabinSeatRow1Pos2Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Occupant::InternalSwap(VehicleCabinSeatRow1Pos2Occupant* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Occupant::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2OccupantIdentifier::VehicleCabinSeatRow1Pos2OccupantIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) +} +VehicleCabinSeatRow1Pos2OccupantIdentifier::VehicleCabinSeatRow1Pos2OccupantIdentifier(const VehicleCabinSeatRow1Pos2OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinSeatRow1Pos2OccupantIdentifier::~VehicleCabinSeatRow1Pos2OccupantIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2OccupantIdentifier& VehicleCabinSeatRow1Pos2OccupantIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2OccupantIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2OccupantIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + return target; +} + +size_t VehicleCabinSeatRow1Pos2OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2OccupantIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2OccupantIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::MergeFrom(const VehicleCabinSeatRow1Pos2OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow1Pos2OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2OccupantIdentifier::InternalSwap(VehicleCabinSeatRow1Pos2OccupantIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2OccupantIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2Backrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Backrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Backrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos2Backrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos2Backrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos2Backrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar& +VehicleCabinSeatRow1Pos2Backrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos2Backrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster& +VehicleCabinSeatRow1Pos2Backrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos2Backrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow1Pos2Backrest::VehicleCabinSeatRow1Pos2Backrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) +} +VehicleCabinSeatRow1Pos2Backrest::VehicleCabinSeatRow1Pos2Backrest(const VehicleCabinSeatRow1Pos2Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + recline_ = from.recline_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) +} + +void VehicleCabinSeatRow1Pos2Backrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&recline_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(recline_)); +} + +VehicleCabinSeatRow1Pos2Backrest::~VehicleCabinSeatRow1Pos2Backrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2Backrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow1Pos2Backrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2Backrest& VehicleCabinSeatRow1Pos2Backrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2Backrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + recline_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2Backrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2Backrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_recline(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos2Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2Backrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2Backrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2Backrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2Backrest::MergeFrom(const VehicleCabinSeatRow1Pos2Backrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (!(from.recline() <= 0 && from.recline() >= 0)) { + _internal_set_recline(from._internal_recline()); + } +} + +void VehicleCabinSeatRow1Pos2Backrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2Backrest::CopyFrom(const VehicleCabinSeatRow1Pos2Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Backrest::InternalSwap(VehicleCabinSeatRow1Pos2Backrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(recline_, other->recline_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Backrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2BackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2BackrestLumbar::VehicleCabinSeatRow1Pos2BackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) +} +VehicleCabinSeatRow1Pos2BackrestLumbar::VehicleCabinSeatRow1Pos2BackrestLumbar(const VehicleCabinSeatRow1Pos2BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&support_, &from.support_, + static_cast<size_t>(reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::SharedCtor() { + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); +} + +VehicleCabinSeatRow1Pos2BackrestLumbar::~VehicleCabinSeatRow1Pos2BackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2BackrestLumbar& VehicleCabinSeatRow1Pos2BackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2BackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2BackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2BackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow1Pos2BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Height = 2; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2BackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2BackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::MergeFrom(const VehicleCabinSeatRow1Pos2BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos2BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2BackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos2BackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); + swap(height_, other->height_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2BackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2BackrestSideBolster::VehicleCabinSeatRow1Pos2BackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) +} +VehicleCabinSeatRow1Pos2BackrestSideBolster::VehicleCabinSeatRow1Pos2BackrestSideBolster(const VehicleCabinSeatRow1Pos2BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + support_ = from.support_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::SharedCtor() { + support_ = 0; +} + +VehicleCabinSeatRow1Pos2BackrestSideBolster::~VehicleCabinSeatRow1Pos2BackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2BackrestSideBolster& VehicleCabinSeatRow1Pos2BackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2BackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + support_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2BackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2BackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow1Pos2BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2BackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2BackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::MergeFrom(const VehicleCabinSeatRow1Pos2BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos2BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2BackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos2BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2BackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2Seating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2Seating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2Seating::VehicleCabinSeatRow1Pos2Seating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) +} +VehicleCabinSeatRow1Pos2Seating::VehicleCabinSeatRow1Pos2Seating(const VehicleCabinSeatRow1Pos2Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + length_ = from.length_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) +} + +void VehicleCabinSeatRow1Pos2Seating::SharedCtor() { + length_ = 0u; +} + +VehicleCabinSeatRow1Pos2Seating::~VehicleCabinSeatRow1Pos2Seating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2Seating::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2Seating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2Seating& VehicleCabinSeatRow1Pos2Seating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2Seating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + length_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2Seating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2Seating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + return target; +} + +size_t VehicleCabinSeatRow1Pos2Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2Seating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2Seating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2Seating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2Seating::MergeFrom(const VehicleCabinSeatRow1Pos2Seating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } +} + +void VehicleCabinSeatRow1Pos2Seating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2Seating::CopyFrom(const VehicleCabinSeatRow1Pos2Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Seating::InternalSwap(VehicleCabinSeatRow1Pos2Seating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(length_, other->length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Seating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2Headrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2Headrest::VehicleCabinSeatRow1Pos2Headrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) +} +VehicleCabinSeatRow1Pos2Headrest::VehicleCabinSeatRow1Pos2Headrest(const VehicleCabinSeatRow1Pos2Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&height_, &from.height_, + static_cast<size_t>(reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) +} + +void VehicleCabinSeatRow1Pos2Headrest::SharedCtor() { + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); +} + +VehicleCabinSeatRow1Pos2Headrest::~VehicleCabinSeatRow1Pos2Headrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2Headrest::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2Headrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2Headrest& VehicleCabinSeatRow1Pos2Headrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2Headrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2Headrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2Headrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_height(), target); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos2Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2Headrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2Headrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2Headrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2Headrest::MergeFrom(const VehicleCabinSeatRow1Pos2Headrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.angle() <= 0 && from.angle() >= 0)) { + _internal_set_angle(from._internal_angle()); + } +} + +void VehicleCabinSeatRow1Pos2Headrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2Headrest::CopyFrom(const VehicleCabinSeatRow1Pos2Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Headrest::InternalSwap(VehicleCabinSeatRow1Pos2Headrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(height_, other->height_); + swap(angle_, other->angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Headrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2Airbag::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2Airbag::VehicleCabinSeatRow1Pos2Airbag() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) +} +VehicleCabinSeatRow1Pos2Airbag::VehicleCabinSeatRow1Pos2Airbag(const VehicleCabinSeatRow1Pos2Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isdeployed_ = from.isdeployed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) +} + +void VehicleCabinSeatRow1Pos2Airbag::SharedCtor() { + isdeployed_ = false; +} + +VehicleCabinSeatRow1Pos2Airbag::~VehicleCabinSeatRow1Pos2Airbag() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2Airbag::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2Airbag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2Airbag& VehicleCabinSeatRow1Pos2Airbag::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2Airbag_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isdeployed_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2Airbag::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2Airbag::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + return target; +} + +size_t VehicleCabinSeatRow1Pos2Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2Airbag::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2Airbag* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2Airbag>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2Airbag::MergeFrom(const VehicleCabinSeatRow1Pos2Airbag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isdeployed() != 0) { + _internal_set_isdeployed(from._internal_isdeployed()); + } +} + +void VehicleCabinSeatRow1Pos2Airbag::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2Airbag::CopyFrom(const VehicleCabinSeatRow1Pos2Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Airbag::InternalSwap(VehicleCabinSeatRow1Pos2Airbag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isdeployed_, other->isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Airbag::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2Switch::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Switch_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Switch_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Switch_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2Switch_default_instance_._instance.get_mutable()->massage_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos2Switch::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest& backrest(const VehicleCabinSeatRow1Pos2Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating& seating(const VehicleCabinSeatRow1Pos2Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest& headrest(const VehicleCabinSeatRow1Pos2Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage& massage(const VehicleCabinSeatRow1Pos2Switch* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest& +VehicleCabinSeatRow1Pos2Switch::_Internal::backrest(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating& +VehicleCabinSeatRow1Pos2Switch::_Internal::seating(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest& +VehicleCabinSeatRow1Pos2Switch::_Internal::headrest(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage& +VehicleCabinSeatRow1Pos2Switch::_Internal::massage(const VehicleCabinSeatRow1Pos2Switch* msg) { + return *msg->massage_; +} +VehicleCabinSeatRow1Pos2Switch::VehicleCabinSeatRow1Pos2Switch() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) +} +VehicleCabinSeatRow1Pos2Switch::VehicleCabinSeatRow1Pos2Switch(const VehicleCabinSeatRow1Pos2Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_massage()) { + massage_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage(*from.massage_); + } else { + massage_ = nullptr; + } + ::memcpy(&iswarmerengaged_, &from.iswarmerengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) +} + +void VehicleCabinSeatRow1Pos2Switch::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto.base); + ::memset(&backrest_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&backrest_)) + sizeof(istiltbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos2Switch::~VehicleCabinSeatRow1Pos2Switch() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2Switch::SharedDtor() { + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete massage_; +} + +void VehicleCabinSeatRow1Pos2Switch::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2Switch& VehicleCabinSeatRow1Pos2Switch::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2Switch_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && massage_ != nullptr) { + delete massage_; + } + massage_ = nullptr; + ::memset(&iswarmerengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2Switch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2Switch::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_istiltbackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage Massage = 12; + if (this->has_massage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::massage(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + return target; +} + +size_t VehicleCabinSeatRow1Pos2Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage Massage = 12; + if (this->has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2Switch::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2Switch* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2Switch>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2Switch::MergeFrom(const VehicleCabinSeatRow1Pos2Switch& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest::MergeFrom(from._internal_headrest()); + } + if (from.has_massage()) { + _internal_mutable_massage()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage::MergeFrom(from._internal_massage()); + } + if (from.iswarmerengaged() != 0) { + _internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from.iscoolerengaged() != 0) { + _internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.istiltforwardengaged() != 0) { + _internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from.istiltbackwardengaged() != 0) { + _internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos2Switch::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2Switch::CopyFrom(const VehicleCabinSeatRow1Pos2Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2Switch::InternalSwap(VehicleCabinSeatRow1Pos2Switch* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(massage_, other->massage_); + swap(iswarmerengaged_, other->iswarmerengaged_); + swap(iscoolerengaged_, other->iscoolerengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(istiltforwardengaged_, other->istiltforwardengaged_); + swap(istiltbackwardengaged_, other->istiltbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2Switch::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2SwitchBackrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos2SwitchBackrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos2SwitchBackrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& +VehicleCabinSeatRow1Pos2SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& +VehicleCabinSeatRow1Pos2SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos2SwitchBackrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow1Pos2SwitchBackrest::VehicleCabinSeatRow1Pos2SwitchBackrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) +} +VehicleCabinSeatRow1Pos2SwitchBackrest::VehicleCabinSeatRow1Pos2SwitchBackrest(const VehicleCabinSeatRow1Pos2SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + ::memcpy(&isreclineforwardengaged_, &from.isreclineforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(isreclinebackwardengaged_)); +} + +VehicleCabinSeatRow1Pos2SwitchBackrest::~VehicleCabinSeatRow1Pos2SwitchBackrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2SwitchBackrest& VehicleCabinSeatRow1Pos2SwitchBackrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2SwitchBackrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + ::memset(&isreclineforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchBackrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2SwitchBackrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isreclinebackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos2SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2SwitchBackrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2SwitchBackrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::MergeFrom(const VehicleCabinSeatRow1Pos2SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (from.isreclineforwardengaged() != 0) { + _internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from.isreclinebackwardengaged() != 0) { + _internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrest::InternalSwap(VehicleCabinSeatRow1Pos2SwitchBackrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(isreclineforwardengaged_, other->isreclineforwardengaged_); + swap(isreclinebackwardengaged_, other->isreclinebackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchBackrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) +} +VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar(const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); +} + +VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::~VehicleCabinSeatRow1Pos2SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2SwitchBackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::MergeFrom(const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos2SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchBackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) +} +VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster(const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); +} + +VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::~VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::MergeFrom(const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2SwitchSeating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchSeating::VehicleCabinSeatRow1Pos2SwitchSeating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) +} +VehicleCabinSeatRow1Pos2SwitchSeating::VehicleCabinSeatRow1Pos2SwitchSeating(const VehicleCabinSeatRow1Pos2SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isforwardengaged_, &from.isforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::SharedCtor() { + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos2SwitchSeating::~VehicleCabinSeatRow1Pos2SwitchSeating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2SwitchSeating& VehicleCabinSeatRow1Pos2SwitchSeating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2SwitchSeating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchSeating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2SwitchSeating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + return target; +} + +size_t VehicleCabinSeatRow1Pos2SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2SwitchSeating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2SwitchSeating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::MergeFrom(const VehicleCabinSeatRow1Pos2SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchSeating::InternalSwap(VehicleCabinSeatRow1Pos2SwitchSeating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchSeating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchHeadrest::VehicleCabinSeatRow1Pos2SwitchHeadrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) +} +VehicleCabinSeatRow1Pos2SwitchHeadrest::VehicleCabinSeatRow1Pos2SwitchHeadrest(const VehicleCabinSeatRow1Pos2SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isupengaged_, &from.isupengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::SharedCtor() { + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos2SwitchHeadrest::~VehicleCabinSeatRow1Pos2SwitchHeadrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2SwitchHeadrest& VehicleCabinSeatRow1Pos2SwitchHeadrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2SwitchHeadrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchHeadrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2SwitchHeadrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos2SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2SwitchHeadrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2SwitchHeadrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::MergeFrom(const VehicleCabinSeatRow1Pos2SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchHeadrest::InternalSwap(VehicleCabinSeatRow1Pos2SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchHeadrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos2SwitchMassage::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos2SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos2SwitchMassage::VehicleCabinSeatRow1Pos2SwitchMassage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) +} +VehicleCabinSeatRow1Pos2SwitchMassage::VehicleCabinSeatRow1Pos2SwitchMassage(const VehicleCabinSeatRow1Pos2SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isincreaseengaged_, &from.isincreaseengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::SharedCtor() { + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); +} + +VehicleCabinSeatRow1Pos2SwitchMassage::~VehicleCabinSeatRow1Pos2SwitchMassage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos2SwitchMassage& VehicleCabinSeatRow1Pos2SwitchMassage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos2SwitchMassage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos2SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos2SwitchMassage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos2SwitchMassage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + return target; +} + +size_t VehicleCabinSeatRow1Pos2SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos2SwitchMassage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos2SwitchMassage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::MergeFrom(const VehicleCabinSeatRow1Pos2SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isincreaseengaged() != 0) { + _internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from.isdecreaseengaged() != 0) { + _internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::CopyFrom(const VehicleCabinSeatRow1Pos2SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos2SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos2SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos2SwitchMassage::InternalSwap(VehicleCabinSeatRow1Pos2SwitchMassage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isincreaseengaged_, other->isincreaseengaged_); + swap(isdecreaseengaged_, other->isdecreaseengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos2SwitchMassage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_._instance.get_mutable()->occupant_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_._instance.get_mutable()->airbag_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3_default_instance_._instance.get_mutable()->switch__ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos3::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant& occupant(const VehicleCabinSeatRow1Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest& backrest(const VehicleCabinSeatRow1Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating& seating(const VehicleCabinSeatRow1Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest& headrest(const VehicleCabinSeatRow1Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag& airbag(const VehicleCabinSeatRow1Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch& switch_(const VehicleCabinSeatRow1Pos3* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant& +VehicleCabinSeatRow1Pos3::_Internal::occupant(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->occupant_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest& +VehicleCabinSeatRow1Pos3::_Internal::backrest(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating& +VehicleCabinSeatRow1Pos3::_Internal::seating(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest& +VehicleCabinSeatRow1Pos3::_Internal::headrest(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag& +VehicleCabinSeatRow1Pos3::_Internal::airbag(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->airbag_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch& +VehicleCabinSeatRow1Pos3::_Internal::switch_(const VehicleCabinSeatRow1Pos3* msg) { + return *msg->switch__; +} +VehicleCabinSeatRow1Pos3::VehicleCabinSeatRow1Pos3() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3) +} +VehicleCabinSeatRow1Pos3::VehicleCabinSeatRow1Pos3(const VehicleCabinSeatRow1Pos3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_occupant()) { + occupant_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant(*from.occupant_); + } else { + occupant_ = nullptr; + } + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_airbag()) { + airbag_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag(*from.airbag_); + } else { + airbag_ = nullptr; + } + if (from._internal_has_switch_()) { + switch__ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch(*from.switch__); + } else { + switch__ = nullptr; + } + ::memcpy(&isoccupied_, &from.isoccupied_, + static_cast<size_t>(reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3) +} + +void VehicleCabinSeatRow1Pos3::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto.base); + ::memset(&occupant_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&occupant_)) + sizeof(tilt_)); +} + +VehicleCabinSeatRow1Pos3::~VehicleCabinSeatRow1Pos3() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3::SharedDtor() { + if (this != internal_default_instance()) delete occupant_; + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete airbag_; + if (this != internal_default_instance()) delete switch__; +} + +void VehicleCabinSeatRow1Pos3::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3& VehicleCabinSeatRow1Pos3::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && occupant_ != nullptr) { + delete occupant_; + } + occupant_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && airbag_ != nullptr) { + delete airbag_; + } + airbag_ = nullptr; + if (GetArenaNoVirtual() == nullptr && switch__ != nullptr) { + delete switch__; + } + switch__ = nullptr; + ::memset(&isoccupied_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_occupant(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBelted = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isoccupied(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant Occupant = 2; + if (this->has_occupant()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::occupant(this), target, stream); + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->heating() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_height(), target); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_tilt(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag Airbag = 12; + if (this->has_airbag()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::airbag(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch Switch = 13; + if (this->has_switch_()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::switch_(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + return target; +} + +size_t VehicleCabinSeatRow1Pos3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant Occupant = 2; + if (this->has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *occupant_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag Airbag = 12; + if (this->has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *airbag_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch Switch = 13; + if (this->has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *switch__); + } + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + total_size += 1 + 1; + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + total_size += 1 + 1; + } + + // int32 Heating = 4; + if (this->heating() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3::MergeFrom(const VehicleCabinSeatRow1Pos3& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_occupant()) { + _internal_mutable_occupant()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant::MergeFrom(from._internal_occupant()); + } + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest::MergeFrom(from._internal_headrest()); + } + if (from.has_airbag()) { + _internal_mutable_airbag()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag::MergeFrom(from._internal_airbag()); + } + if (from.has_switch_()) { + _internal_mutable_switch_()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch::MergeFrom(from._internal_switch_()); + } + if (from.isoccupied() != 0) { + _internal_set_isoccupied(from._internal_isoccupied()); + } + if (from.isbelted() != 0) { + _internal_set_isbelted(from._internal_isbelted()); + } + if (from.heating() != 0) { + _internal_set_heating(from._internal_heating()); + } + if (from.massage() != 0) { + _internal_set_massage(from._internal_massage()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.tilt() <= 0 && from.tilt() >= 0)) { + _internal_set_tilt(from._internal_tilt()); + } +} + +void VehicleCabinSeatRow1Pos3::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3::CopyFrom(const VehicleCabinSeatRow1Pos3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3::InternalSwap(VehicleCabinSeatRow1Pos3* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(occupant_, other->occupant_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(airbag_, other->airbag_); + swap(switch__, other->switch__); + swap(isoccupied_, other->isoccupied_); + swap(isbelted_, other->isbelted_); + swap(heating_, other->heating_); + swap(massage_, other->massage_); + swap(position_, other->position_); + swap(height_, other->height_); + swap(tilt_, other->tilt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3Occupant::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Occupant_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos3Occupant::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier& identifier(const VehicleCabinSeatRow1Pos3Occupant* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier& +VehicleCabinSeatRow1Pos3Occupant::_Internal::identifier(const VehicleCabinSeatRow1Pos3Occupant* msg) { + return *msg->identifier_; +} +VehicleCabinSeatRow1Pos3Occupant::VehicleCabinSeatRow1Pos3Occupant() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) +} +VehicleCabinSeatRow1Pos3Occupant::VehicleCabinSeatRow1Pos3Occupant(const VehicleCabinSeatRow1Pos3Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) +} + +void VehicleCabinSeatRow1Pos3Occupant::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto.base); + identifier_ = nullptr; +} + +VehicleCabinSeatRow1Pos3Occupant::~VehicleCabinSeatRow1Pos3Occupant() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3Occupant::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleCabinSeatRow1Pos3Occupant::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3Occupant& VehicleCabinSeatRow1Pos3Occupant::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3Occupant_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3Occupant::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3Occupant::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + return target; +} + +size_t VehicleCabinSeatRow1Pos3Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3Occupant::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3Occupant* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3Occupant>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3Occupant::MergeFrom(const VehicleCabinSeatRow1Pos3Occupant& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier::MergeFrom(from._internal_identifier()); + } +} + +void VehicleCabinSeatRow1Pos3Occupant::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3Occupant::CopyFrom(const VehicleCabinSeatRow1Pos3Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Occupant::InternalSwap(VehicleCabinSeatRow1Pos3Occupant* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Occupant::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3OccupantIdentifier::VehicleCabinSeatRow1Pos3OccupantIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) +} +VehicleCabinSeatRow1Pos3OccupantIdentifier::VehicleCabinSeatRow1Pos3OccupantIdentifier(const VehicleCabinSeatRow1Pos3OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinSeatRow1Pos3OccupantIdentifier::~VehicleCabinSeatRow1Pos3OccupantIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3OccupantIdentifier& VehicleCabinSeatRow1Pos3OccupantIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3OccupantIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3OccupantIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + return target; +} + +size_t VehicleCabinSeatRow1Pos3OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3OccupantIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3OccupantIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::MergeFrom(const VehicleCabinSeatRow1Pos3OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow1Pos3OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3OccupantIdentifier::InternalSwap(VehicleCabinSeatRow1Pos3OccupantIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3OccupantIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3Backrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Backrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Backrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos3Backrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos3Backrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos3Backrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar& +VehicleCabinSeatRow1Pos3Backrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos3Backrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster& +VehicleCabinSeatRow1Pos3Backrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos3Backrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow1Pos3Backrest::VehicleCabinSeatRow1Pos3Backrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) +} +VehicleCabinSeatRow1Pos3Backrest::VehicleCabinSeatRow1Pos3Backrest(const VehicleCabinSeatRow1Pos3Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + recline_ = from.recline_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) +} + +void VehicleCabinSeatRow1Pos3Backrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&recline_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(recline_)); +} + +VehicleCabinSeatRow1Pos3Backrest::~VehicleCabinSeatRow1Pos3Backrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3Backrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow1Pos3Backrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3Backrest& VehicleCabinSeatRow1Pos3Backrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3Backrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + recline_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3Backrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3Backrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_recline(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos3Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3Backrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3Backrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3Backrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3Backrest::MergeFrom(const VehicleCabinSeatRow1Pos3Backrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (!(from.recline() <= 0 && from.recline() >= 0)) { + _internal_set_recline(from._internal_recline()); + } +} + +void VehicleCabinSeatRow1Pos3Backrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3Backrest::CopyFrom(const VehicleCabinSeatRow1Pos3Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Backrest::InternalSwap(VehicleCabinSeatRow1Pos3Backrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(recline_, other->recline_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Backrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3BackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3BackrestLumbar::VehicleCabinSeatRow1Pos3BackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) +} +VehicleCabinSeatRow1Pos3BackrestLumbar::VehicleCabinSeatRow1Pos3BackrestLumbar(const VehicleCabinSeatRow1Pos3BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&support_, &from.support_, + static_cast<size_t>(reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::SharedCtor() { + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); +} + +VehicleCabinSeatRow1Pos3BackrestLumbar::~VehicleCabinSeatRow1Pos3BackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3BackrestLumbar& VehicleCabinSeatRow1Pos3BackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3BackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3BackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3BackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow1Pos3BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Height = 2; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3BackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3BackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::MergeFrom(const VehicleCabinSeatRow1Pos3BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos3BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3BackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos3BackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); + swap(height_, other->height_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3BackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3BackrestSideBolster::VehicleCabinSeatRow1Pos3BackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) +} +VehicleCabinSeatRow1Pos3BackrestSideBolster::VehicleCabinSeatRow1Pos3BackrestSideBolster(const VehicleCabinSeatRow1Pos3BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + support_ = from.support_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::SharedCtor() { + support_ = 0; +} + +VehicleCabinSeatRow1Pos3BackrestSideBolster::~VehicleCabinSeatRow1Pos3BackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3BackrestSideBolster& VehicleCabinSeatRow1Pos3BackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3BackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + support_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3BackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3BackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow1Pos3BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3BackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3BackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::MergeFrom(const VehicleCabinSeatRow1Pos3BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos3BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3BackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos3BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3BackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3Seating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3Seating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3Seating::VehicleCabinSeatRow1Pos3Seating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) +} +VehicleCabinSeatRow1Pos3Seating::VehicleCabinSeatRow1Pos3Seating(const VehicleCabinSeatRow1Pos3Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + length_ = from.length_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) +} + +void VehicleCabinSeatRow1Pos3Seating::SharedCtor() { + length_ = 0u; +} + +VehicleCabinSeatRow1Pos3Seating::~VehicleCabinSeatRow1Pos3Seating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3Seating::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3Seating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3Seating& VehicleCabinSeatRow1Pos3Seating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3Seating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + length_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3Seating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3Seating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + return target; +} + +size_t VehicleCabinSeatRow1Pos3Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3Seating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3Seating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3Seating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3Seating::MergeFrom(const VehicleCabinSeatRow1Pos3Seating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } +} + +void VehicleCabinSeatRow1Pos3Seating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3Seating::CopyFrom(const VehicleCabinSeatRow1Pos3Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Seating::InternalSwap(VehicleCabinSeatRow1Pos3Seating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(length_, other->length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Seating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3Headrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3Headrest::VehicleCabinSeatRow1Pos3Headrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) +} +VehicleCabinSeatRow1Pos3Headrest::VehicleCabinSeatRow1Pos3Headrest(const VehicleCabinSeatRow1Pos3Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&height_, &from.height_, + static_cast<size_t>(reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) +} + +void VehicleCabinSeatRow1Pos3Headrest::SharedCtor() { + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); +} + +VehicleCabinSeatRow1Pos3Headrest::~VehicleCabinSeatRow1Pos3Headrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3Headrest::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3Headrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3Headrest& VehicleCabinSeatRow1Pos3Headrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3Headrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3Headrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3Headrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_height(), target); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos3Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3Headrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3Headrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3Headrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3Headrest::MergeFrom(const VehicleCabinSeatRow1Pos3Headrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.angle() <= 0 && from.angle() >= 0)) { + _internal_set_angle(from._internal_angle()); + } +} + +void VehicleCabinSeatRow1Pos3Headrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3Headrest::CopyFrom(const VehicleCabinSeatRow1Pos3Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Headrest::InternalSwap(VehicleCabinSeatRow1Pos3Headrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(height_, other->height_); + swap(angle_, other->angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Headrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3Airbag::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3Airbag::VehicleCabinSeatRow1Pos3Airbag() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) +} +VehicleCabinSeatRow1Pos3Airbag::VehicleCabinSeatRow1Pos3Airbag(const VehicleCabinSeatRow1Pos3Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isdeployed_ = from.isdeployed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) +} + +void VehicleCabinSeatRow1Pos3Airbag::SharedCtor() { + isdeployed_ = false; +} + +VehicleCabinSeatRow1Pos3Airbag::~VehicleCabinSeatRow1Pos3Airbag() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3Airbag::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3Airbag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3Airbag& VehicleCabinSeatRow1Pos3Airbag::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3Airbag_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isdeployed_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3Airbag::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3Airbag::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + return target; +} + +size_t VehicleCabinSeatRow1Pos3Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3Airbag::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3Airbag* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3Airbag>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3Airbag::MergeFrom(const VehicleCabinSeatRow1Pos3Airbag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isdeployed() != 0) { + _internal_set_isdeployed(from._internal_isdeployed()); + } +} + +void VehicleCabinSeatRow1Pos3Airbag::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3Airbag::CopyFrom(const VehicleCabinSeatRow1Pos3Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Airbag::InternalSwap(VehicleCabinSeatRow1Pos3Airbag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isdeployed_, other->isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Airbag::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3Switch::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Switch_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Switch_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Switch_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3Switch_default_instance_._instance.get_mutable()->massage_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos3Switch::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest& backrest(const VehicleCabinSeatRow1Pos3Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating& seating(const VehicleCabinSeatRow1Pos3Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest& headrest(const VehicleCabinSeatRow1Pos3Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage& massage(const VehicleCabinSeatRow1Pos3Switch* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest& +VehicleCabinSeatRow1Pos3Switch::_Internal::backrest(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating& +VehicleCabinSeatRow1Pos3Switch::_Internal::seating(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest& +VehicleCabinSeatRow1Pos3Switch::_Internal::headrest(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage& +VehicleCabinSeatRow1Pos3Switch::_Internal::massage(const VehicleCabinSeatRow1Pos3Switch* msg) { + return *msg->massage_; +} +VehicleCabinSeatRow1Pos3Switch::VehicleCabinSeatRow1Pos3Switch() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) +} +VehicleCabinSeatRow1Pos3Switch::VehicleCabinSeatRow1Pos3Switch(const VehicleCabinSeatRow1Pos3Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_massage()) { + massage_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage(*from.massage_); + } else { + massage_ = nullptr; + } + ::memcpy(&iswarmerengaged_, &from.iswarmerengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) +} + +void VehicleCabinSeatRow1Pos3Switch::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto.base); + ::memset(&backrest_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&backrest_)) + sizeof(istiltbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos3Switch::~VehicleCabinSeatRow1Pos3Switch() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3Switch::SharedDtor() { + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete massage_; +} + +void VehicleCabinSeatRow1Pos3Switch::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3Switch& VehicleCabinSeatRow1Pos3Switch::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3Switch_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && massage_ != nullptr) { + delete massage_; + } + massage_ = nullptr; + ::memset(&iswarmerengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3Switch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3Switch::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_istiltbackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage Massage = 12; + if (this->has_massage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::massage(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + return target; +} + +size_t VehicleCabinSeatRow1Pos3Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage Massage = 12; + if (this->has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3Switch::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3Switch* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3Switch>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3Switch::MergeFrom(const VehicleCabinSeatRow1Pos3Switch& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest::MergeFrom(from._internal_headrest()); + } + if (from.has_massage()) { + _internal_mutable_massage()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage::MergeFrom(from._internal_massage()); + } + if (from.iswarmerengaged() != 0) { + _internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from.iscoolerengaged() != 0) { + _internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.istiltforwardengaged() != 0) { + _internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from.istiltbackwardengaged() != 0) { + _internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos3Switch::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3Switch::CopyFrom(const VehicleCabinSeatRow1Pos3Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3Switch::InternalSwap(VehicleCabinSeatRow1Pos3Switch* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(massage_, other->massage_); + swap(iswarmerengaged_, other->iswarmerengaged_); + swap(iscoolerengaged_, other->iscoolerengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(istiltforwardengaged_, other->istiltforwardengaged_); + swap(istiltbackwardengaged_, other->istiltbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3Switch::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3SwitchBackrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow1Pos3SwitchBackrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow1Pos3SwitchBackrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& +VehicleCabinSeatRow1Pos3SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& +VehicleCabinSeatRow1Pos3SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow1Pos3SwitchBackrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow1Pos3SwitchBackrest::VehicleCabinSeatRow1Pos3SwitchBackrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) +} +VehicleCabinSeatRow1Pos3SwitchBackrest::VehicleCabinSeatRow1Pos3SwitchBackrest(const VehicleCabinSeatRow1Pos3SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + ::memcpy(&isreclineforwardengaged_, &from.isreclineforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(isreclinebackwardengaged_)); +} + +VehicleCabinSeatRow1Pos3SwitchBackrest::~VehicleCabinSeatRow1Pos3SwitchBackrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3SwitchBackrest& VehicleCabinSeatRow1Pos3SwitchBackrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3SwitchBackrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + ::memset(&isreclineforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchBackrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3SwitchBackrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isreclinebackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos3SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3SwitchBackrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3SwitchBackrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::MergeFrom(const VehicleCabinSeatRow1Pos3SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (from.isreclineforwardengaged() != 0) { + _internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from.isreclinebackwardengaged() != 0) { + _internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrest::InternalSwap(VehicleCabinSeatRow1Pos3SwitchBackrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(isreclineforwardengaged_, other->isreclineforwardengaged_); + swap(isreclinebackwardengaged_, other->isreclinebackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchBackrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) +} +VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar(const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); +} + +VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::~VehicleCabinSeatRow1Pos3SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3SwitchBackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::MergeFrom(const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow1Pos3SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchBackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) +} +VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster(const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); +} + +VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::~VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::MergeFrom(const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3SwitchSeating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchSeating::VehicleCabinSeatRow1Pos3SwitchSeating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) +} +VehicleCabinSeatRow1Pos3SwitchSeating::VehicleCabinSeatRow1Pos3SwitchSeating(const VehicleCabinSeatRow1Pos3SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isforwardengaged_, &from.isforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::SharedCtor() { + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos3SwitchSeating::~VehicleCabinSeatRow1Pos3SwitchSeating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3SwitchSeating& VehicleCabinSeatRow1Pos3SwitchSeating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3SwitchSeating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchSeating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3SwitchSeating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + return target; +} + +size_t VehicleCabinSeatRow1Pos3SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3SwitchSeating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3SwitchSeating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::MergeFrom(const VehicleCabinSeatRow1Pos3SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchSeating::InternalSwap(VehicleCabinSeatRow1Pos3SwitchSeating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchSeating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchHeadrest::VehicleCabinSeatRow1Pos3SwitchHeadrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) +} +VehicleCabinSeatRow1Pos3SwitchHeadrest::VehicleCabinSeatRow1Pos3SwitchHeadrest(const VehicleCabinSeatRow1Pos3SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isupengaged_, &from.isupengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::SharedCtor() { + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow1Pos3SwitchHeadrest::~VehicleCabinSeatRow1Pos3SwitchHeadrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3SwitchHeadrest& VehicleCabinSeatRow1Pos3SwitchHeadrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3SwitchHeadrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchHeadrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3SwitchHeadrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + return target; +} + +size_t VehicleCabinSeatRow1Pos3SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3SwitchHeadrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3SwitchHeadrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::MergeFrom(const VehicleCabinSeatRow1Pos3SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchHeadrest::InternalSwap(VehicleCabinSeatRow1Pos3SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchHeadrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow1Pos3SwitchMassage::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow1Pos3SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow1Pos3SwitchMassage::VehicleCabinSeatRow1Pos3SwitchMassage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) +} +VehicleCabinSeatRow1Pos3SwitchMassage::VehicleCabinSeatRow1Pos3SwitchMassage(const VehicleCabinSeatRow1Pos3SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isincreaseengaged_, &from.isincreaseengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::SharedCtor() { + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); +} + +VehicleCabinSeatRow1Pos3SwitchMassage::~VehicleCabinSeatRow1Pos3SwitchMassage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + SharedDtor(); +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::SharedDtor() { +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow1Pos3SwitchMassage& VehicleCabinSeatRow1Pos3SwitchMassage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow1Pos3SwitchMassage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow1Pos3SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow1Pos3SwitchMassage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow1Pos3SwitchMassage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + return target; +} + +size_t VehicleCabinSeatRow1Pos3SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow1Pos3SwitchMassage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow1Pos3SwitchMassage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::MergeFrom(const VehicleCabinSeatRow1Pos3SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isincreaseengaged() != 0) { + _internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from.isdecreaseengaged() != 0) { + _internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::CopyFrom(const VehicleCabinSeatRow1Pos3SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow1Pos3SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow1Pos3SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow1Pos3SwitchMassage::InternalSwap(VehicleCabinSeatRow1Pos3SwitchMassage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isincreaseengaged_, other->isincreaseengaged_); + swap(isdecreaseengaged_, other->isdecreaseengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow1Pos3SwitchMassage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2_default_instance_._instance.get_mutable()->pos1_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2_default_instance_._instance.get_mutable()->pos2_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2_default_instance_._instance.get_mutable()->pos3_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3::internal_default_instance()); +} +class VehicleCabinSeatRow2::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1& pos1(const VehicleCabinSeatRow2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2& pos2(const VehicleCabinSeatRow2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3& pos3(const VehicleCabinSeatRow2* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1& +VehicleCabinSeatRow2::_Internal::pos1(const VehicleCabinSeatRow2* msg) { + return *msg->pos1_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2& +VehicleCabinSeatRow2::_Internal::pos2(const VehicleCabinSeatRow2* msg) { + return *msg->pos2_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3& +VehicleCabinSeatRow2::_Internal::pos3(const VehicleCabinSeatRow2* msg) { + return *msg->pos3_; +} +VehicleCabinSeatRow2::VehicleCabinSeatRow2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2) +} +VehicleCabinSeatRow2::VehicleCabinSeatRow2(const VehicleCabinSeatRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_pos1()) { + pos1_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1(*from.pos1_); + } else { + pos1_ = nullptr; + } + if (from._internal_has_pos2()) { + pos2_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2(*from.pos2_); + } else { + pos2_ = nullptr; + } + if (from._internal_has_pos3()) { + pos3_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3(*from.pos3_); + } else { + pos3_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2) +} + +void VehicleCabinSeatRow2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto.base); + ::memset(&pos1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&pos3_) - + reinterpret_cast<char*>(&pos1_)) + sizeof(pos3_)); +} + +VehicleCabinSeatRow2::~VehicleCabinSeatRow2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2) + SharedDtor(); +} + +void VehicleCabinSeatRow2::SharedDtor() { + if (this != internal_default_instance()) delete pos1_; + if (this != internal_default_instance()) delete pos2_; + if (this != internal_default_instance()) delete pos3_; +} + +void VehicleCabinSeatRow2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2& VehicleCabinSeatRow2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && pos1_ != nullptr) { + delete pos1_; + } + pos1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && pos2_ != nullptr) { + delete pos2_; + } + pos2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && pos3_ != nullptr) { + delete pos3_; + } + pos3_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1 Pos1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_pos1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2 Pos2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_pos2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3 Pos3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_pos3(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1 Pos1 = 1; + if (this->has_pos1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::pos1(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2 Pos2 = 2; + if (this->has_pos2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::pos2(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3 Pos3 = 3; + if (this->has_pos3()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::pos3(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2) + return target; +} + +size_t VehicleCabinSeatRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1 Pos1 = 1; + if (this->has_pos1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *pos1_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2 Pos2 = 2; + if (this->has_pos2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *pos2_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3 Pos3 = 3; + if (this->has_pos3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *pos3_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2::MergeFrom(const VehicleCabinSeatRow2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_pos1()) { + _internal_mutable_pos1()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1::MergeFrom(from._internal_pos1()); + } + if (from.has_pos2()) { + _internal_mutable_pos2()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2::MergeFrom(from._internal_pos2()); + } + if (from.has_pos3()) { + _internal_mutable_pos3()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3::MergeFrom(from._internal_pos3()); + } +} + +void VehicleCabinSeatRow2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2::CopyFrom(const VehicleCabinSeatRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2::InternalSwap(VehicleCabinSeatRow2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pos1_, other->pos1_); + swap(pos2_, other->pos2_); + swap(pos3_, other->pos3_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_._instance.get_mutable()->occupant_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_._instance.get_mutable()->airbag_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1_default_instance_._instance.get_mutable()->switch__ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos1::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant& occupant(const VehicleCabinSeatRow2Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest& backrest(const VehicleCabinSeatRow2Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating& seating(const VehicleCabinSeatRow2Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest& headrest(const VehicleCabinSeatRow2Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag& airbag(const VehicleCabinSeatRow2Pos1* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch& switch_(const VehicleCabinSeatRow2Pos1* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant& +VehicleCabinSeatRow2Pos1::_Internal::occupant(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->occupant_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest& +VehicleCabinSeatRow2Pos1::_Internal::backrest(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating& +VehicleCabinSeatRow2Pos1::_Internal::seating(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest& +VehicleCabinSeatRow2Pos1::_Internal::headrest(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag& +VehicleCabinSeatRow2Pos1::_Internal::airbag(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->airbag_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch& +VehicleCabinSeatRow2Pos1::_Internal::switch_(const VehicleCabinSeatRow2Pos1* msg) { + return *msg->switch__; +} +VehicleCabinSeatRow2Pos1::VehicleCabinSeatRow2Pos1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1) +} +VehicleCabinSeatRow2Pos1::VehicleCabinSeatRow2Pos1(const VehicleCabinSeatRow2Pos1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_occupant()) { + occupant_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant(*from.occupant_); + } else { + occupant_ = nullptr; + } + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_airbag()) { + airbag_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag(*from.airbag_); + } else { + airbag_ = nullptr; + } + if (from._internal_has_switch_()) { + switch__ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch(*from.switch__); + } else { + switch__ = nullptr; + } + ::memcpy(&isoccupied_, &from.isoccupied_, + static_cast<size_t>(reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1) +} + +void VehicleCabinSeatRow2Pos1::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto.base); + ::memset(&occupant_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&occupant_)) + sizeof(tilt_)); +} + +VehicleCabinSeatRow2Pos1::~VehicleCabinSeatRow2Pos1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1::SharedDtor() { + if (this != internal_default_instance()) delete occupant_; + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete airbag_; + if (this != internal_default_instance()) delete switch__; +} + +void VehicleCabinSeatRow2Pos1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1& VehicleCabinSeatRow2Pos1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && occupant_ != nullptr) { + delete occupant_; + } + occupant_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && airbag_ != nullptr) { + delete airbag_; + } + airbag_ = nullptr; + if (GetArenaNoVirtual() == nullptr && switch__ != nullptr) { + delete switch__; + } + switch__ = nullptr; + ::memset(&isoccupied_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_occupant(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBelted = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isoccupied(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant Occupant = 2; + if (this->has_occupant()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::occupant(this), target, stream); + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->heating() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_height(), target); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_tilt(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag Airbag = 12; + if (this->has_airbag()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::airbag(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch Switch = 13; + if (this->has_switch_()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::switch_(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + return target; +} + +size_t VehicleCabinSeatRow2Pos1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant Occupant = 2; + if (this->has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *occupant_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag Airbag = 12; + if (this->has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *airbag_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch Switch = 13; + if (this->has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *switch__); + } + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + total_size += 1 + 1; + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + total_size += 1 + 1; + } + + // int32 Heating = 4; + if (this->heating() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1::MergeFrom(const VehicleCabinSeatRow2Pos1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_occupant()) { + _internal_mutable_occupant()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant::MergeFrom(from._internal_occupant()); + } + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest::MergeFrom(from._internal_headrest()); + } + if (from.has_airbag()) { + _internal_mutable_airbag()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag::MergeFrom(from._internal_airbag()); + } + if (from.has_switch_()) { + _internal_mutable_switch_()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch::MergeFrom(from._internal_switch_()); + } + if (from.isoccupied() != 0) { + _internal_set_isoccupied(from._internal_isoccupied()); + } + if (from.isbelted() != 0) { + _internal_set_isbelted(from._internal_isbelted()); + } + if (from.heating() != 0) { + _internal_set_heating(from._internal_heating()); + } + if (from.massage() != 0) { + _internal_set_massage(from._internal_massage()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.tilt() <= 0 && from.tilt() >= 0)) { + _internal_set_tilt(from._internal_tilt()); + } +} + +void VehicleCabinSeatRow2Pos1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1::CopyFrom(const VehicleCabinSeatRow2Pos1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1::InternalSwap(VehicleCabinSeatRow2Pos1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(occupant_, other->occupant_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(airbag_, other->airbag_); + swap(switch__, other->switch__); + swap(isoccupied_, other->isoccupied_); + swap(isbelted_, other->isbelted_); + swap(heating_, other->heating_); + swap(massage_, other->massage_); + swap(position_, other->position_); + swap(height_, other->height_); + swap(tilt_, other->tilt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1Occupant::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Occupant_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos1Occupant::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier& identifier(const VehicleCabinSeatRow2Pos1Occupant* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier& +VehicleCabinSeatRow2Pos1Occupant::_Internal::identifier(const VehicleCabinSeatRow2Pos1Occupant* msg) { + return *msg->identifier_; +} +VehicleCabinSeatRow2Pos1Occupant::VehicleCabinSeatRow2Pos1Occupant() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) +} +VehicleCabinSeatRow2Pos1Occupant::VehicleCabinSeatRow2Pos1Occupant(const VehicleCabinSeatRow2Pos1Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) +} + +void VehicleCabinSeatRow2Pos1Occupant::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto.base); + identifier_ = nullptr; +} + +VehicleCabinSeatRow2Pos1Occupant::~VehicleCabinSeatRow2Pos1Occupant() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1Occupant::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleCabinSeatRow2Pos1Occupant::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1Occupant& VehicleCabinSeatRow2Pos1Occupant::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1Occupant_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1Occupant::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1Occupant::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + return target; +} + +size_t VehicleCabinSeatRow2Pos1Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1Occupant::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1Occupant* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1Occupant>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1Occupant::MergeFrom(const VehicleCabinSeatRow2Pos1Occupant& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier::MergeFrom(from._internal_identifier()); + } +} + +void VehicleCabinSeatRow2Pos1Occupant::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1Occupant::CopyFrom(const VehicleCabinSeatRow2Pos1Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Occupant::InternalSwap(VehicleCabinSeatRow2Pos1Occupant* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Occupant::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1OccupantIdentifier::VehicleCabinSeatRow2Pos1OccupantIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) +} +VehicleCabinSeatRow2Pos1OccupantIdentifier::VehicleCabinSeatRow2Pos1OccupantIdentifier(const VehicleCabinSeatRow2Pos1OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinSeatRow2Pos1OccupantIdentifier::~VehicleCabinSeatRow2Pos1OccupantIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1OccupantIdentifier& VehicleCabinSeatRow2Pos1OccupantIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1OccupantIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1OccupantIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1OccupantIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + return target; +} + +size_t VehicleCabinSeatRow2Pos1OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1OccupantIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1OccupantIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::MergeFrom(const VehicleCabinSeatRow2Pos1OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow2Pos1OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1OccupantIdentifier::InternalSwap(VehicleCabinSeatRow2Pos1OccupantIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1OccupantIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1Backrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Backrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Backrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos1Backrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos1Backrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos1Backrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar& +VehicleCabinSeatRow2Pos1Backrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos1Backrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster& +VehicleCabinSeatRow2Pos1Backrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos1Backrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow2Pos1Backrest::VehicleCabinSeatRow2Pos1Backrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) +} +VehicleCabinSeatRow2Pos1Backrest::VehicleCabinSeatRow2Pos1Backrest(const VehicleCabinSeatRow2Pos1Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + recline_ = from.recline_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) +} + +void VehicleCabinSeatRow2Pos1Backrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&recline_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(recline_)); +} + +VehicleCabinSeatRow2Pos1Backrest::~VehicleCabinSeatRow2Pos1Backrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1Backrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow2Pos1Backrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1Backrest& VehicleCabinSeatRow2Pos1Backrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1Backrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + recline_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1Backrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1Backrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_recline(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos1Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1Backrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1Backrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1Backrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1Backrest::MergeFrom(const VehicleCabinSeatRow2Pos1Backrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (!(from.recline() <= 0 && from.recline() >= 0)) { + _internal_set_recline(from._internal_recline()); + } +} + +void VehicleCabinSeatRow2Pos1Backrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1Backrest::CopyFrom(const VehicleCabinSeatRow2Pos1Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Backrest::InternalSwap(VehicleCabinSeatRow2Pos1Backrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(recline_, other->recline_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Backrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1BackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1BackrestLumbar::VehicleCabinSeatRow2Pos1BackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) +} +VehicleCabinSeatRow2Pos1BackrestLumbar::VehicleCabinSeatRow2Pos1BackrestLumbar(const VehicleCabinSeatRow2Pos1BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&support_, &from.support_, + static_cast<size_t>(reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::SharedCtor() { + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); +} + +VehicleCabinSeatRow2Pos1BackrestLumbar::~VehicleCabinSeatRow2Pos1BackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1BackrestLumbar& VehicleCabinSeatRow2Pos1BackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1BackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1BackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1BackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow2Pos1BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Height = 2; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1BackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1BackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::MergeFrom(const VehicleCabinSeatRow2Pos1BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos1BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1BackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos1BackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); + swap(height_, other->height_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1BackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1BackrestSideBolster::VehicleCabinSeatRow2Pos1BackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) +} +VehicleCabinSeatRow2Pos1BackrestSideBolster::VehicleCabinSeatRow2Pos1BackrestSideBolster(const VehicleCabinSeatRow2Pos1BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + support_ = from.support_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::SharedCtor() { + support_ = 0; +} + +VehicleCabinSeatRow2Pos1BackrestSideBolster::~VehicleCabinSeatRow2Pos1BackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1BackrestSideBolster& VehicleCabinSeatRow2Pos1BackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1BackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + support_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1BackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1BackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow2Pos1BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1BackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1BackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::MergeFrom(const VehicleCabinSeatRow2Pos1BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos1BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1BackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos1BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1BackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1Seating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1Seating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1Seating::VehicleCabinSeatRow2Pos1Seating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) +} +VehicleCabinSeatRow2Pos1Seating::VehicleCabinSeatRow2Pos1Seating(const VehicleCabinSeatRow2Pos1Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + length_ = from.length_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) +} + +void VehicleCabinSeatRow2Pos1Seating::SharedCtor() { + length_ = 0u; +} + +VehicleCabinSeatRow2Pos1Seating::~VehicleCabinSeatRow2Pos1Seating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1Seating::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1Seating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1Seating& VehicleCabinSeatRow2Pos1Seating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1Seating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + length_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1Seating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1Seating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + return target; +} + +size_t VehicleCabinSeatRow2Pos1Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1Seating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1Seating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1Seating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1Seating::MergeFrom(const VehicleCabinSeatRow2Pos1Seating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } +} + +void VehicleCabinSeatRow2Pos1Seating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1Seating::CopyFrom(const VehicleCabinSeatRow2Pos1Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Seating::InternalSwap(VehicleCabinSeatRow2Pos1Seating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(length_, other->length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Seating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1Headrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1Headrest::VehicleCabinSeatRow2Pos1Headrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) +} +VehicleCabinSeatRow2Pos1Headrest::VehicleCabinSeatRow2Pos1Headrest(const VehicleCabinSeatRow2Pos1Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&height_, &from.height_, + static_cast<size_t>(reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) +} + +void VehicleCabinSeatRow2Pos1Headrest::SharedCtor() { + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); +} + +VehicleCabinSeatRow2Pos1Headrest::~VehicleCabinSeatRow2Pos1Headrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1Headrest::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1Headrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1Headrest& VehicleCabinSeatRow2Pos1Headrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1Headrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1Headrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1Headrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_height(), target); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos1Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1Headrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1Headrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1Headrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1Headrest::MergeFrom(const VehicleCabinSeatRow2Pos1Headrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.angle() <= 0 && from.angle() >= 0)) { + _internal_set_angle(from._internal_angle()); + } +} + +void VehicleCabinSeatRow2Pos1Headrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1Headrest::CopyFrom(const VehicleCabinSeatRow2Pos1Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Headrest::InternalSwap(VehicleCabinSeatRow2Pos1Headrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(height_, other->height_); + swap(angle_, other->angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Headrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1Airbag::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1Airbag::VehicleCabinSeatRow2Pos1Airbag() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) +} +VehicleCabinSeatRow2Pos1Airbag::VehicleCabinSeatRow2Pos1Airbag(const VehicleCabinSeatRow2Pos1Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isdeployed_ = from.isdeployed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) +} + +void VehicleCabinSeatRow2Pos1Airbag::SharedCtor() { + isdeployed_ = false; +} + +VehicleCabinSeatRow2Pos1Airbag::~VehicleCabinSeatRow2Pos1Airbag() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1Airbag::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1Airbag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1Airbag& VehicleCabinSeatRow2Pos1Airbag::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1Airbag_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isdeployed_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1Airbag::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1Airbag::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + return target; +} + +size_t VehicleCabinSeatRow2Pos1Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1Airbag::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1Airbag* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1Airbag>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1Airbag::MergeFrom(const VehicleCabinSeatRow2Pos1Airbag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isdeployed() != 0) { + _internal_set_isdeployed(from._internal_isdeployed()); + } +} + +void VehicleCabinSeatRow2Pos1Airbag::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1Airbag::CopyFrom(const VehicleCabinSeatRow2Pos1Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Airbag::InternalSwap(VehicleCabinSeatRow2Pos1Airbag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isdeployed_, other->isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Airbag::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1Switch::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Switch_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Switch_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Switch_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1Switch_default_instance_._instance.get_mutable()->massage_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos1Switch::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest& backrest(const VehicleCabinSeatRow2Pos1Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating& seating(const VehicleCabinSeatRow2Pos1Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest& headrest(const VehicleCabinSeatRow2Pos1Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage& massage(const VehicleCabinSeatRow2Pos1Switch* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest& +VehicleCabinSeatRow2Pos1Switch::_Internal::backrest(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating& +VehicleCabinSeatRow2Pos1Switch::_Internal::seating(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest& +VehicleCabinSeatRow2Pos1Switch::_Internal::headrest(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage& +VehicleCabinSeatRow2Pos1Switch::_Internal::massage(const VehicleCabinSeatRow2Pos1Switch* msg) { + return *msg->massage_; +} +VehicleCabinSeatRow2Pos1Switch::VehicleCabinSeatRow2Pos1Switch() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) +} +VehicleCabinSeatRow2Pos1Switch::VehicleCabinSeatRow2Pos1Switch(const VehicleCabinSeatRow2Pos1Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_massage()) { + massage_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage(*from.massage_); + } else { + massage_ = nullptr; + } + ::memcpy(&iswarmerengaged_, &from.iswarmerengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) +} + +void VehicleCabinSeatRow2Pos1Switch::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto.base); + ::memset(&backrest_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&backrest_)) + sizeof(istiltbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos1Switch::~VehicleCabinSeatRow2Pos1Switch() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1Switch::SharedDtor() { + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete massage_; +} + +void VehicleCabinSeatRow2Pos1Switch::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1Switch& VehicleCabinSeatRow2Pos1Switch::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1Switch_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && massage_ != nullptr) { + delete massage_; + } + massage_ = nullptr; + ::memset(&iswarmerengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1Switch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1Switch::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_istiltbackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage Massage = 12; + if (this->has_massage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::massage(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + return target; +} + +size_t VehicleCabinSeatRow2Pos1Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage Massage = 12; + if (this->has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1Switch::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1Switch* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1Switch>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1Switch::MergeFrom(const VehicleCabinSeatRow2Pos1Switch& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest::MergeFrom(from._internal_headrest()); + } + if (from.has_massage()) { + _internal_mutable_massage()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage::MergeFrom(from._internal_massage()); + } + if (from.iswarmerengaged() != 0) { + _internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from.iscoolerengaged() != 0) { + _internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.istiltforwardengaged() != 0) { + _internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from.istiltbackwardengaged() != 0) { + _internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos1Switch::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1Switch::CopyFrom(const VehicleCabinSeatRow2Pos1Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1Switch::InternalSwap(VehicleCabinSeatRow2Pos1Switch* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(massage_, other->massage_); + swap(iswarmerengaged_, other->iswarmerengaged_); + swap(iscoolerengaged_, other->iscoolerengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(istiltforwardengaged_, other->istiltforwardengaged_); + swap(istiltbackwardengaged_, other->istiltbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1Switch::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1SwitchBackrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos1SwitchBackrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos1SwitchBackrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& +VehicleCabinSeatRow2Pos1SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& +VehicleCabinSeatRow2Pos1SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos1SwitchBackrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow2Pos1SwitchBackrest::VehicleCabinSeatRow2Pos1SwitchBackrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) +} +VehicleCabinSeatRow2Pos1SwitchBackrest::VehicleCabinSeatRow2Pos1SwitchBackrest(const VehicleCabinSeatRow2Pos1SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + ::memcpy(&isreclineforwardengaged_, &from.isreclineforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(isreclinebackwardengaged_)); +} + +VehicleCabinSeatRow2Pos1SwitchBackrest::~VehicleCabinSeatRow2Pos1SwitchBackrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1SwitchBackrest& VehicleCabinSeatRow2Pos1SwitchBackrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1SwitchBackrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + ::memset(&isreclineforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchBackrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1SwitchBackrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isreclinebackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos1SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1SwitchBackrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1SwitchBackrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::MergeFrom(const VehicleCabinSeatRow2Pos1SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (from.isreclineforwardengaged() != 0) { + _internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from.isreclinebackwardengaged() != 0) { + _internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrest::InternalSwap(VehicleCabinSeatRow2Pos1SwitchBackrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(isreclineforwardengaged_, other->isreclineforwardengaged_); + swap(isreclinebackwardengaged_, other->isreclinebackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchBackrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) +} +VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar(const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); +} + +VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::~VehicleCabinSeatRow2Pos1SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1SwitchBackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::MergeFrom(const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos1SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchBackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) +} +VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster(const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); +} + +VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::~VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::MergeFrom(const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1SwitchSeating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchSeating::VehicleCabinSeatRow2Pos1SwitchSeating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) +} +VehicleCabinSeatRow2Pos1SwitchSeating::VehicleCabinSeatRow2Pos1SwitchSeating(const VehicleCabinSeatRow2Pos1SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isforwardengaged_, &from.isforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::SharedCtor() { + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos1SwitchSeating::~VehicleCabinSeatRow2Pos1SwitchSeating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1SwitchSeating& VehicleCabinSeatRow2Pos1SwitchSeating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1SwitchSeating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchSeating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1SwitchSeating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + return target; +} + +size_t VehicleCabinSeatRow2Pos1SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1SwitchSeating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1SwitchSeating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::MergeFrom(const VehicleCabinSeatRow2Pos1SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchSeating::InternalSwap(VehicleCabinSeatRow2Pos1SwitchSeating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchSeating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchHeadrest::VehicleCabinSeatRow2Pos1SwitchHeadrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) +} +VehicleCabinSeatRow2Pos1SwitchHeadrest::VehicleCabinSeatRow2Pos1SwitchHeadrest(const VehicleCabinSeatRow2Pos1SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isupengaged_, &from.isupengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::SharedCtor() { + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos1SwitchHeadrest::~VehicleCabinSeatRow2Pos1SwitchHeadrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1SwitchHeadrest& VehicleCabinSeatRow2Pos1SwitchHeadrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1SwitchHeadrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchHeadrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1SwitchHeadrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos1SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1SwitchHeadrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1SwitchHeadrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::MergeFrom(const VehicleCabinSeatRow2Pos1SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchHeadrest::InternalSwap(VehicleCabinSeatRow2Pos1SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchHeadrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos1SwitchMassage::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos1SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos1SwitchMassage::VehicleCabinSeatRow2Pos1SwitchMassage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) +} +VehicleCabinSeatRow2Pos1SwitchMassage::VehicleCabinSeatRow2Pos1SwitchMassage(const VehicleCabinSeatRow2Pos1SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isincreaseengaged_, &from.isincreaseengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::SharedCtor() { + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); +} + +VehicleCabinSeatRow2Pos1SwitchMassage::~VehicleCabinSeatRow2Pos1SwitchMassage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos1SwitchMassage& VehicleCabinSeatRow2Pos1SwitchMassage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos1SwitchMassage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos1SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos1SwitchMassage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos1SwitchMassage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + return target; +} + +size_t VehicleCabinSeatRow2Pos1SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos1SwitchMassage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos1SwitchMassage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::MergeFrom(const VehicleCabinSeatRow2Pos1SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isincreaseengaged() != 0) { + _internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from.isdecreaseengaged() != 0) { + _internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::CopyFrom(const VehicleCabinSeatRow2Pos1SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos1SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos1SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos1SwitchMassage::InternalSwap(VehicleCabinSeatRow2Pos1SwitchMassage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isincreaseengaged_, other->isincreaseengaged_); + swap(isdecreaseengaged_, other->isdecreaseengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos1SwitchMassage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_._instance.get_mutable()->occupant_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_._instance.get_mutable()->airbag_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2_default_instance_._instance.get_mutable()->switch__ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos2::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant& occupant(const VehicleCabinSeatRow2Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest& backrest(const VehicleCabinSeatRow2Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating& seating(const VehicleCabinSeatRow2Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest& headrest(const VehicleCabinSeatRow2Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag& airbag(const VehicleCabinSeatRow2Pos2* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch& switch_(const VehicleCabinSeatRow2Pos2* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant& +VehicleCabinSeatRow2Pos2::_Internal::occupant(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->occupant_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest& +VehicleCabinSeatRow2Pos2::_Internal::backrest(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating& +VehicleCabinSeatRow2Pos2::_Internal::seating(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest& +VehicleCabinSeatRow2Pos2::_Internal::headrest(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag& +VehicleCabinSeatRow2Pos2::_Internal::airbag(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->airbag_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch& +VehicleCabinSeatRow2Pos2::_Internal::switch_(const VehicleCabinSeatRow2Pos2* msg) { + return *msg->switch__; +} +VehicleCabinSeatRow2Pos2::VehicleCabinSeatRow2Pos2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2) +} +VehicleCabinSeatRow2Pos2::VehicleCabinSeatRow2Pos2(const VehicleCabinSeatRow2Pos2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_occupant()) { + occupant_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant(*from.occupant_); + } else { + occupant_ = nullptr; + } + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_airbag()) { + airbag_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag(*from.airbag_); + } else { + airbag_ = nullptr; + } + if (from._internal_has_switch_()) { + switch__ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch(*from.switch__); + } else { + switch__ = nullptr; + } + ::memcpy(&isoccupied_, &from.isoccupied_, + static_cast<size_t>(reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2) +} + +void VehicleCabinSeatRow2Pos2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto.base); + ::memset(&occupant_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&occupant_)) + sizeof(tilt_)); +} + +VehicleCabinSeatRow2Pos2::~VehicleCabinSeatRow2Pos2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2::SharedDtor() { + if (this != internal_default_instance()) delete occupant_; + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete airbag_; + if (this != internal_default_instance()) delete switch__; +} + +void VehicleCabinSeatRow2Pos2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2& VehicleCabinSeatRow2Pos2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && occupant_ != nullptr) { + delete occupant_; + } + occupant_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && airbag_ != nullptr) { + delete airbag_; + } + airbag_ = nullptr; + if (GetArenaNoVirtual() == nullptr && switch__ != nullptr) { + delete switch__; + } + switch__ = nullptr; + ::memset(&isoccupied_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_occupant(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBelted = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isoccupied(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant Occupant = 2; + if (this->has_occupant()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::occupant(this), target, stream); + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->heating() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_height(), target); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_tilt(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag Airbag = 12; + if (this->has_airbag()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::airbag(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch Switch = 13; + if (this->has_switch_()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::switch_(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + return target; +} + +size_t VehicleCabinSeatRow2Pos2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant Occupant = 2; + if (this->has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *occupant_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag Airbag = 12; + if (this->has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *airbag_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch Switch = 13; + if (this->has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *switch__); + } + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + total_size += 1 + 1; + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + total_size += 1 + 1; + } + + // int32 Heating = 4; + if (this->heating() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2::MergeFrom(const VehicleCabinSeatRow2Pos2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_occupant()) { + _internal_mutable_occupant()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant::MergeFrom(from._internal_occupant()); + } + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest::MergeFrom(from._internal_headrest()); + } + if (from.has_airbag()) { + _internal_mutable_airbag()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag::MergeFrom(from._internal_airbag()); + } + if (from.has_switch_()) { + _internal_mutable_switch_()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch::MergeFrom(from._internal_switch_()); + } + if (from.isoccupied() != 0) { + _internal_set_isoccupied(from._internal_isoccupied()); + } + if (from.isbelted() != 0) { + _internal_set_isbelted(from._internal_isbelted()); + } + if (from.heating() != 0) { + _internal_set_heating(from._internal_heating()); + } + if (from.massage() != 0) { + _internal_set_massage(from._internal_massage()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.tilt() <= 0 && from.tilt() >= 0)) { + _internal_set_tilt(from._internal_tilt()); + } +} + +void VehicleCabinSeatRow2Pos2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2::CopyFrom(const VehicleCabinSeatRow2Pos2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2::InternalSwap(VehicleCabinSeatRow2Pos2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(occupant_, other->occupant_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(airbag_, other->airbag_); + swap(switch__, other->switch__); + swap(isoccupied_, other->isoccupied_); + swap(isbelted_, other->isbelted_); + swap(heating_, other->heating_); + swap(massage_, other->massage_); + swap(position_, other->position_); + swap(height_, other->height_); + swap(tilt_, other->tilt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2Occupant::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Occupant_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos2Occupant::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier& identifier(const VehicleCabinSeatRow2Pos2Occupant* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier& +VehicleCabinSeatRow2Pos2Occupant::_Internal::identifier(const VehicleCabinSeatRow2Pos2Occupant* msg) { + return *msg->identifier_; +} +VehicleCabinSeatRow2Pos2Occupant::VehicleCabinSeatRow2Pos2Occupant() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) +} +VehicleCabinSeatRow2Pos2Occupant::VehicleCabinSeatRow2Pos2Occupant(const VehicleCabinSeatRow2Pos2Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) +} + +void VehicleCabinSeatRow2Pos2Occupant::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto.base); + identifier_ = nullptr; +} + +VehicleCabinSeatRow2Pos2Occupant::~VehicleCabinSeatRow2Pos2Occupant() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2Occupant::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleCabinSeatRow2Pos2Occupant::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2Occupant& VehicleCabinSeatRow2Pos2Occupant::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2Occupant_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2Occupant::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2Occupant::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + return target; +} + +size_t VehicleCabinSeatRow2Pos2Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2Occupant::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2Occupant* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2Occupant>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2Occupant::MergeFrom(const VehicleCabinSeatRow2Pos2Occupant& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier::MergeFrom(from._internal_identifier()); + } +} + +void VehicleCabinSeatRow2Pos2Occupant::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2Occupant::CopyFrom(const VehicleCabinSeatRow2Pos2Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Occupant::InternalSwap(VehicleCabinSeatRow2Pos2Occupant* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Occupant::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2OccupantIdentifier::VehicleCabinSeatRow2Pos2OccupantIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) +} +VehicleCabinSeatRow2Pos2OccupantIdentifier::VehicleCabinSeatRow2Pos2OccupantIdentifier(const VehicleCabinSeatRow2Pos2OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinSeatRow2Pos2OccupantIdentifier::~VehicleCabinSeatRow2Pos2OccupantIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2OccupantIdentifier& VehicleCabinSeatRow2Pos2OccupantIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2OccupantIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2OccupantIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2OccupantIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + return target; +} + +size_t VehicleCabinSeatRow2Pos2OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2OccupantIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2OccupantIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::MergeFrom(const VehicleCabinSeatRow2Pos2OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow2Pos2OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2OccupantIdentifier::InternalSwap(VehicleCabinSeatRow2Pos2OccupantIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2OccupantIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2Backrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Backrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Backrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos2Backrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos2Backrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos2Backrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar& +VehicleCabinSeatRow2Pos2Backrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos2Backrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster& +VehicleCabinSeatRow2Pos2Backrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos2Backrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow2Pos2Backrest::VehicleCabinSeatRow2Pos2Backrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) +} +VehicleCabinSeatRow2Pos2Backrest::VehicleCabinSeatRow2Pos2Backrest(const VehicleCabinSeatRow2Pos2Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + recline_ = from.recline_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) +} + +void VehicleCabinSeatRow2Pos2Backrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&recline_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(recline_)); +} + +VehicleCabinSeatRow2Pos2Backrest::~VehicleCabinSeatRow2Pos2Backrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2Backrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow2Pos2Backrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2Backrest& VehicleCabinSeatRow2Pos2Backrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2Backrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + recline_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2Backrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2Backrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_recline(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos2Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2Backrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2Backrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2Backrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2Backrest::MergeFrom(const VehicleCabinSeatRow2Pos2Backrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (!(from.recline() <= 0 && from.recline() >= 0)) { + _internal_set_recline(from._internal_recline()); + } +} + +void VehicleCabinSeatRow2Pos2Backrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2Backrest::CopyFrom(const VehicleCabinSeatRow2Pos2Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Backrest::InternalSwap(VehicleCabinSeatRow2Pos2Backrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(recline_, other->recline_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Backrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2BackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2BackrestLumbar::VehicleCabinSeatRow2Pos2BackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) +} +VehicleCabinSeatRow2Pos2BackrestLumbar::VehicleCabinSeatRow2Pos2BackrestLumbar(const VehicleCabinSeatRow2Pos2BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&support_, &from.support_, + static_cast<size_t>(reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::SharedCtor() { + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); +} + +VehicleCabinSeatRow2Pos2BackrestLumbar::~VehicleCabinSeatRow2Pos2BackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2BackrestLumbar& VehicleCabinSeatRow2Pos2BackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2BackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2BackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2BackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow2Pos2BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Height = 2; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2BackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2BackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::MergeFrom(const VehicleCabinSeatRow2Pos2BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos2BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2BackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos2BackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); + swap(height_, other->height_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2BackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2BackrestSideBolster::VehicleCabinSeatRow2Pos2BackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) +} +VehicleCabinSeatRow2Pos2BackrestSideBolster::VehicleCabinSeatRow2Pos2BackrestSideBolster(const VehicleCabinSeatRow2Pos2BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + support_ = from.support_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::SharedCtor() { + support_ = 0; +} + +VehicleCabinSeatRow2Pos2BackrestSideBolster::~VehicleCabinSeatRow2Pos2BackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2BackrestSideBolster& VehicleCabinSeatRow2Pos2BackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2BackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + support_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2BackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2BackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow2Pos2BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2BackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2BackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::MergeFrom(const VehicleCabinSeatRow2Pos2BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos2BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2BackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos2BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2BackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2Seating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2Seating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2Seating::VehicleCabinSeatRow2Pos2Seating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) +} +VehicleCabinSeatRow2Pos2Seating::VehicleCabinSeatRow2Pos2Seating(const VehicleCabinSeatRow2Pos2Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + length_ = from.length_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) +} + +void VehicleCabinSeatRow2Pos2Seating::SharedCtor() { + length_ = 0u; +} + +VehicleCabinSeatRow2Pos2Seating::~VehicleCabinSeatRow2Pos2Seating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2Seating::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2Seating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2Seating& VehicleCabinSeatRow2Pos2Seating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2Seating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + length_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2Seating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2Seating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + return target; +} + +size_t VehicleCabinSeatRow2Pos2Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2Seating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2Seating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2Seating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2Seating::MergeFrom(const VehicleCabinSeatRow2Pos2Seating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } +} + +void VehicleCabinSeatRow2Pos2Seating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2Seating::CopyFrom(const VehicleCabinSeatRow2Pos2Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Seating::InternalSwap(VehicleCabinSeatRow2Pos2Seating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(length_, other->length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Seating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2Headrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2Headrest::VehicleCabinSeatRow2Pos2Headrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) +} +VehicleCabinSeatRow2Pos2Headrest::VehicleCabinSeatRow2Pos2Headrest(const VehicleCabinSeatRow2Pos2Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&height_, &from.height_, + static_cast<size_t>(reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) +} + +void VehicleCabinSeatRow2Pos2Headrest::SharedCtor() { + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); +} + +VehicleCabinSeatRow2Pos2Headrest::~VehicleCabinSeatRow2Pos2Headrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2Headrest::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2Headrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2Headrest& VehicleCabinSeatRow2Pos2Headrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2Headrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2Headrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2Headrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_height(), target); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos2Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2Headrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2Headrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2Headrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2Headrest::MergeFrom(const VehicleCabinSeatRow2Pos2Headrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.angle() <= 0 && from.angle() >= 0)) { + _internal_set_angle(from._internal_angle()); + } +} + +void VehicleCabinSeatRow2Pos2Headrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2Headrest::CopyFrom(const VehicleCabinSeatRow2Pos2Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Headrest::InternalSwap(VehicleCabinSeatRow2Pos2Headrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(height_, other->height_); + swap(angle_, other->angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Headrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2Airbag::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2Airbag::VehicleCabinSeatRow2Pos2Airbag() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) +} +VehicleCabinSeatRow2Pos2Airbag::VehicleCabinSeatRow2Pos2Airbag(const VehicleCabinSeatRow2Pos2Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isdeployed_ = from.isdeployed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) +} + +void VehicleCabinSeatRow2Pos2Airbag::SharedCtor() { + isdeployed_ = false; +} + +VehicleCabinSeatRow2Pos2Airbag::~VehicleCabinSeatRow2Pos2Airbag() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2Airbag::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2Airbag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2Airbag& VehicleCabinSeatRow2Pos2Airbag::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2Airbag_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isdeployed_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2Airbag::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2Airbag::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + return target; +} + +size_t VehicleCabinSeatRow2Pos2Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2Airbag::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2Airbag* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2Airbag>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2Airbag::MergeFrom(const VehicleCabinSeatRow2Pos2Airbag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isdeployed() != 0) { + _internal_set_isdeployed(from._internal_isdeployed()); + } +} + +void VehicleCabinSeatRow2Pos2Airbag::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2Airbag::CopyFrom(const VehicleCabinSeatRow2Pos2Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Airbag::InternalSwap(VehicleCabinSeatRow2Pos2Airbag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isdeployed_, other->isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Airbag::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2Switch::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Switch_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Switch_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Switch_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2Switch_default_instance_._instance.get_mutable()->massage_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos2Switch::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest& backrest(const VehicleCabinSeatRow2Pos2Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating& seating(const VehicleCabinSeatRow2Pos2Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest& headrest(const VehicleCabinSeatRow2Pos2Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage& massage(const VehicleCabinSeatRow2Pos2Switch* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest& +VehicleCabinSeatRow2Pos2Switch::_Internal::backrest(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating& +VehicleCabinSeatRow2Pos2Switch::_Internal::seating(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest& +VehicleCabinSeatRow2Pos2Switch::_Internal::headrest(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage& +VehicleCabinSeatRow2Pos2Switch::_Internal::massage(const VehicleCabinSeatRow2Pos2Switch* msg) { + return *msg->massage_; +} +VehicleCabinSeatRow2Pos2Switch::VehicleCabinSeatRow2Pos2Switch() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) +} +VehicleCabinSeatRow2Pos2Switch::VehicleCabinSeatRow2Pos2Switch(const VehicleCabinSeatRow2Pos2Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_massage()) { + massage_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage(*from.massage_); + } else { + massage_ = nullptr; + } + ::memcpy(&iswarmerengaged_, &from.iswarmerengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) +} + +void VehicleCabinSeatRow2Pos2Switch::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto.base); + ::memset(&backrest_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&backrest_)) + sizeof(istiltbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos2Switch::~VehicleCabinSeatRow2Pos2Switch() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2Switch::SharedDtor() { + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete massage_; +} + +void VehicleCabinSeatRow2Pos2Switch::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2Switch& VehicleCabinSeatRow2Pos2Switch::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2Switch_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && massage_ != nullptr) { + delete massage_; + } + massage_ = nullptr; + ::memset(&iswarmerengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2Switch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2Switch::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_istiltbackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage Massage = 12; + if (this->has_massage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::massage(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + return target; +} + +size_t VehicleCabinSeatRow2Pos2Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage Massage = 12; + if (this->has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2Switch::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2Switch* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2Switch>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2Switch::MergeFrom(const VehicleCabinSeatRow2Pos2Switch& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest::MergeFrom(from._internal_headrest()); + } + if (from.has_massage()) { + _internal_mutable_massage()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage::MergeFrom(from._internal_massage()); + } + if (from.iswarmerengaged() != 0) { + _internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from.iscoolerengaged() != 0) { + _internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.istiltforwardengaged() != 0) { + _internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from.istiltbackwardengaged() != 0) { + _internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos2Switch::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2Switch::CopyFrom(const VehicleCabinSeatRow2Pos2Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2Switch::InternalSwap(VehicleCabinSeatRow2Pos2Switch* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(massage_, other->massage_); + swap(iswarmerengaged_, other->iswarmerengaged_); + swap(iscoolerengaged_, other->iscoolerengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(istiltforwardengaged_, other->istiltforwardengaged_); + swap(istiltbackwardengaged_, other->istiltbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2Switch::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2SwitchBackrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos2SwitchBackrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos2SwitchBackrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& +VehicleCabinSeatRow2Pos2SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& +VehicleCabinSeatRow2Pos2SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos2SwitchBackrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow2Pos2SwitchBackrest::VehicleCabinSeatRow2Pos2SwitchBackrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) +} +VehicleCabinSeatRow2Pos2SwitchBackrest::VehicleCabinSeatRow2Pos2SwitchBackrest(const VehicleCabinSeatRow2Pos2SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + ::memcpy(&isreclineforwardengaged_, &from.isreclineforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(isreclinebackwardengaged_)); +} + +VehicleCabinSeatRow2Pos2SwitchBackrest::~VehicleCabinSeatRow2Pos2SwitchBackrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2SwitchBackrest& VehicleCabinSeatRow2Pos2SwitchBackrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2SwitchBackrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + ::memset(&isreclineforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchBackrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2SwitchBackrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isreclinebackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos2SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2SwitchBackrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2SwitchBackrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::MergeFrom(const VehicleCabinSeatRow2Pos2SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (from.isreclineforwardengaged() != 0) { + _internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from.isreclinebackwardengaged() != 0) { + _internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrest::InternalSwap(VehicleCabinSeatRow2Pos2SwitchBackrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(isreclineforwardengaged_, other->isreclineforwardengaged_); + swap(isreclinebackwardengaged_, other->isreclinebackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchBackrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) +} +VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar(const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); +} + +VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::~VehicleCabinSeatRow2Pos2SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2SwitchBackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::MergeFrom(const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos2SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchBackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) +} +VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster(const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); +} + +VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::~VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::MergeFrom(const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2SwitchSeating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchSeating::VehicleCabinSeatRow2Pos2SwitchSeating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) +} +VehicleCabinSeatRow2Pos2SwitchSeating::VehicleCabinSeatRow2Pos2SwitchSeating(const VehicleCabinSeatRow2Pos2SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isforwardengaged_, &from.isforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::SharedCtor() { + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos2SwitchSeating::~VehicleCabinSeatRow2Pos2SwitchSeating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2SwitchSeating& VehicleCabinSeatRow2Pos2SwitchSeating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2SwitchSeating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchSeating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2SwitchSeating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + return target; +} + +size_t VehicleCabinSeatRow2Pos2SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2SwitchSeating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2SwitchSeating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::MergeFrom(const VehicleCabinSeatRow2Pos2SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchSeating::InternalSwap(VehicleCabinSeatRow2Pos2SwitchSeating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchSeating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchHeadrest::VehicleCabinSeatRow2Pos2SwitchHeadrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) +} +VehicleCabinSeatRow2Pos2SwitchHeadrest::VehicleCabinSeatRow2Pos2SwitchHeadrest(const VehicleCabinSeatRow2Pos2SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isupengaged_, &from.isupengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::SharedCtor() { + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos2SwitchHeadrest::~VehicleCabinSeatRow2Pos2SwitchHeadrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2SwitchHeadrest& VehicleCabinSeatRow2Pos2SwitchHeadrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2SwitchHeadrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchHeadrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2SwitchHeadrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos2SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2SwitchHeadrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2SwitchHeadrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::MergeFrom(const VehicleCabinSeatRow2Pos2SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchHeadrest::InternalSwap(VehicleCabinSeatRow2Pos2SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchHeadrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos2SwitchMassage::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos2SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos2SwitchMassage::VehicleCabinSeatRow2Pos2SwitchMassage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) +} +VehicleCabinSeatRow2Pos2SwitchMassage::VehicleCabinSeatRow2Pos2SwitchMassage(const VehicleCabinSeatRow2Pos2SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isincreaseengaged_, &from.isincreaseengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::SharedCtor() { + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); +} + +VehicleCabinSeatRow2Pos2SwitchMassage::~VehicleCabinSeatRow2Pos2SwitchMassage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos2SwitchMassage& VehicleCabinSeatRow2Pos2SwitchMassage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos2SwitchMassage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos2SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos2SwitchMassage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos2SwitchMassage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + return target; +} + +size_t VehicleCabinSeatRow2Pos2SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos2SwitchMassage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos2SwitchMassage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::MergeFrom(const VehicleCabinSeatRow2Pos2SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isincreaseengaged() != 0) { + _internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from.isdecreaseengaged() != 0) { + _internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::CopyFrom(const VehicleCabinSeatRow2Pos2SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos2SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos2SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos2SwitchMassage::InternalSwap(VehicleCabinSeatRow2Pos2SwitchMassage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isincreaseengaged_, other->isincreaseengaged_); + swap(isdecreaseengaged_, other->isdecreaseengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos2SwitchMassage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_._instance.get_mutable()->occupant_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_._instance.get_mutable()->airbag_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3_default_instance_._instance.get_mutable()->switch__ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos3::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant& occupant(const VehicleCabinSeatRow2Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest& backrest(const VehicleCabinSeatRow2Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating& seating(const VehicleCabinSeatRow2Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest& headrest(const VehicleCabinSeatRow2Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag& airbag(const VehicleCabinSeatRow2Pos3* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch& switch_(const VehicleCabinSeatRow2Pos3* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant& +VehicleCabinSeatRow2Pos3::_Internal::occupant(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->occupant_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest& +VehicleCabinSeatRow2Pos3::_Internal::backrest(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating& +VehicleCabinSeatRow2Pos3::_Internal::seating(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest& +VehicleCabinSeatRow2Pos3::_Internal::headrest(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag& +VehicleCabinSeatRow2Pos3::_Internal::airbag(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->airbag_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch& +VehicleCabinSeatRow2Pos3::_Internal::switch_(const VehicleCabinSeatRow2Pos3* msg) { + return *msg->switch__; +} +VehicleCabinSeatRow2Pos3::VehicleCabinSeatRow2Pos3() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3) +} +VehicleCabinSeatRow2Pos3::VehicleCabinSeatRow2Pos3(const VehicleCabinSeatRow2Pos3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_occupant()) { + occupant_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant(*from.occupant_); + } else { + occupant_ = nullptr; + } + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_airbag()) { + airbag_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag(*from.airbag_); + } else { + airbag_ = nullptr; + } + if (from._internal_has_switch_()) { + switch__ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch(*from.switch__); + } else { + switch__ = nullptr; + } + ::memcpy(&isoccupied_, &from.isoccupied_, + static_cast<size_t>(reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3) +} + +void VehicleCabinSeatRow2Pos3::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto.base); + ::memset(&occupant_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&occupant_)) + sizeof(tilt_)); +} + +VehicleCabinSeatRow2Pos3::~VehicleCabinSeatRow2Pos3() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3::SharedDtor() { + if (this != internal_default_instance()) delete occupant_; + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete airbag_; + if (this != internal_default_instance()) delete switch__; +} + +void VehicleCabinSeatRow2Pos3::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3& VehicleCabinSeatRow2Pos3::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && occupant_ != nullptr) { + delete occupant_; + } + occupant_ = nullptr; + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && airbag_ != nullptr) { + delete airbag_; + } + airbag_ = nullptr; + if (GetArenaNoVirtual() == nullptr && switch__ != nullptr) { + delete switch__; + } + switch__ = nullptr; + ::memset(&isoccupied_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tilt_) - + reinterpret_cast<char*>(&isoccupied_)) + sizeof(tilt_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsOccupied = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isoccupied_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant Occupant = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_occupant(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBelted = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isbelted_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int32 Heating = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + heating_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Massage = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + massage_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Position = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + position_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Height = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Tilt = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag Airbag = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_airbag(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch Switch = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 106)) { + ptr = ctx->ParseMessage(_internal_mutable_switch_(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isoccupied(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant Occupant = 2; + if (this->has_occupant()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::occupant(this), target, stream); + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isbelted(), target); + } + + // int32 Heating = 4; + if (this->heating() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(4, this->_internal_heating(), target); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_massage(), target); + } + + // uint32 Position = 6; + if (this->position() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_position(), target); + } + + // uint32 Height = 7; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(7, this->_internal_height(), target); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_tilt(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag Airbag = 12; + if (this->has_airbag()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::airbag(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch Switch = 13; + if (this->has_switch_()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 13, _Internal::switch_(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + return target; +} + +size_t VehicleCabinSeatRow2Pos3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant Occupant = 2; + if (this->has_occupant()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *occupant_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag Airbag = 12; + if (this->has_airbag()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *airbag_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch Switch = 13; + if (this->has_switch_()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *switch__); + } + + // bool IsOccupied = 1; + if (this->isoccupied() != 0) { + total_size += 1 + 1; + } + + // bool IsBelted = 3; + if (this->isbelted() != 0) { + total_size += 1 + 1; + } + + // int32 Heating = 4; + if (this->heating() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_heating()); + } + + // uint32 Massage = 5; + if (this->massage() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_massage()); + } + + // uint32 Position = 6; + if (this->position() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_position()); + } + + // uint32 Height = 7; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Tilt = 8; + if (!(this->tilt() <= 0 && this->tilt() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3::MergeFrom(const VehicleCabinSeatRow2Pos3& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_occupant()) { + _internal_mutable_occupant()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant::MergeFrom(from._internal_occupant()); + } + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest::MergeFrom(from._internal_headrest()); + } + if (from.has_airbag()) { + _internal_mutable_airbag()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag::MergeFrom(from._internal_airbag()); + } + if (from.has_switch_()) { + _internal_mutable_switch_()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch::MergeFrom(from._internal_switch_()); + } + if (from.isoccupied() != 0) { + _internal_set_isoccupied(from._internal_isoccupied()); + } + if (from.isbelted() != 0) { + _internal_set_isbelted(from._internal_isbelted()); + } + if (from.heating() != 0) { + _internal_set_heating(from._internal_heating()); + } + if (from.massage() != 0) { + _internal_set_massage(from._internal_massage()); + } + if (from.position() != 0) { + _internal_set_position(from._internal_position()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.tilt() <= 0 && from.tilt() >= 0)) { + _internal_set_tilt(from._internal_tilt()); + } +} + +void VehicleCabinSeatRow2Pos3::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3::CopyFrom(const VehicleCabinSeatRow2Pos3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3::InternalSwap(VehicleCabinSeatRow2Pos3* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(occupant_, other->occupant_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(airbag_, other->airbag_); + swap(switch__, other->switch__); + swap(isoccupied_, other->isoccupied_); + swap(isbelted_, other->isbelted_); + swap(heating_, other->heating_); + swap(massage_, other->massage_); + swap(position_, other->position_); + swap(height_, other->height_); + swap(tilt_, other->tilt_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3Occupant::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Occupant_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos3Occupant::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier& identifier(const VehicleCabinSeatRow2Pos3Occupant* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier& +VehicleCabinSeatRow2Pos3Occupant::_Internal::identifier(const VehicleCabinSeatRow2Pos3Occupant* msg) { + return *msg->identifier_; +} +VehicleCabinSeatRow2Pos3Occupant::VehicleCabinSeatRow2Pos3Occupant() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) +} +VehicleCabinSeatRow2Pos3Occupant::VehicleCabinSeatRow2Pos3Occupant(const VehicleCabinSeatRow2Pos3Occupant& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) +} + +void VehicleCabinSeatRow2Pos3Occupant::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto.base); + identifier_ = nullptr; +} + +VehicleCabinSeatRow2Pos3Occupant::~VehicleCabinSeatRow2Pos3Occupant() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3Occupant::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleCabinSeatRow2Pos3Occupant::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3Occupant& VehicleCabinSeatRow2Pos3Occupant::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3Occupant_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3Occupant::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3Occupant::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3Occupant::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + return target; +} + +size_t VehicleCabinSeatRow2Pos3Occupant::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3Occupant::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3Occupant* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3Occupant>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3Occupant::MergeFrom(const VehicleCabinSeatRow2Pos3Occupant& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier::MergeFrom(from._internal_identifier()); + } +} + +void VehicleCabinSeatRow2Pos3Occupant::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3Occupant::CopyFrom(const VehicleCabinSeatRow2Pos3Occupant& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Occupant) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Occupant::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Occupant::InternalSwap(VehicleCabinSeatRow2Pos3Occupant* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Occupant::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3OccupantIdentifier::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3OccupantIdentifier::VehicleCabinSeatRow2Pos3OccupantIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) +} +VehicleCabinSeatRow2Pos3OccupantIdentifier::VehicleCabinSeatRow2Pos3OccupantIdentifier(const VehicleCabinSeatRow2Pos3OccupantIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinSeatRow2Pos3OccupantIdentifier::~VehicleCabinSeatRow2Pos3OccupantIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3OccupantIdentifier& VehicleCabinSeatRow2Pos3OccupantIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3OccupantIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3OccupantIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3OccupantIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + return target; +} + +size_t VehicleCabinSeatRow2Pos3OccupantIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3OccupantIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3OccupantIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::MergeFrom(const VehicleCabinSeatRow2Pos3OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::CopyFrom(const VehicleCabinSeatRow2Pos3OccupantIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3OccupantIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3OccupantIdentifier::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3OccupantIdentifier::InternalSwap(VehicleCabinSeatRow2Pos3OccupantIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3OccupantIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3Backrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Backrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Backrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos3Backrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos3Backrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos3Backrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar& +VehicleCabinSeatRow2Pos3Backrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos3Backrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster& +VehicleCabinSeatRow2Pos3Backrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos3Backrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow2Pos3Backrest::VehicleCabinSeatRow2Pos3Backrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) +} +VehicleCabinSeatRow2Pos3Backrest::VehicleCabinSeatRow2Pos3Backrest(const VehicleCabinSeatRow2Pos3Backrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + recline_ = from.recline_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) +} + +void VehicleCabinSeatRow2Pos3Backrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&recline_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(recline_)); +} + +VehicleCabinSeatRow2Pos3Backrest::~VehicleCabinSeatRow2Pos3Backrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3Backrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow2Pos3Backrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3Backrest& VehicleCabinSeatRow2Pos3Backrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3Backrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3Backrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + recline_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3Backrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Recline = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + recline_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar Lumbar = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster SideBolster = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3Backrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_recline(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos3Backrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar Lumbar = 2; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster SideBolster = 3; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // float Recline = 1; + if (!(this->recline() <= 0 && this->recline() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3Backrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3Backrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3Backrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3Backrest::MergeFrom(const VehicleCabinSeatRow2Pos3Backrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (!(from.recline() <= 0 && from.recline() >= 0)) { + _internal_set_recline(from._internal_recline()); + } +} + +void VehicleCabinSeatRow2Pos3Backrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3Backrest::CopyFrom(const VehicleCabinSeatRow2Pos3Backrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Backrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Backrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Backrest::InternalSwap(VehicleCabinSeatRow2Pos3Backrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(recline_, other->recline_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Backrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3BackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3BackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3BackrestLumbar::VehicleCabinSeatRow2Pos3BackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) +} +VehicleCabinSeatRow2Pos3BackrestLumbar::VehicleCabinSeatRow2Pos3BackrestLumbar(const VehicleCabinSeatRow2Pos3BackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&support_, &from.support_, + static_cast<size_t>(reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::SharedCtor() { + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); +} + +VehicleCabinSeatRow2Pos3BackrestLumbar::~VehicleCabinSeatRow2Pos3BackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3BackrestLumbar& VehicleCabinSeatRow2Pos3BackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3BackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3BackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&support_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&height_) - + reinterpret_cast<char*>(&support_)) + sizeof(height_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3BackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 Height = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3BackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + // uint32 Height = 2; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_height(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow2Pos3BackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + // uint32 Height = 2; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3BackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3BackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::MergeFrom(const VehicleCabinSeatRow2Pos3BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos3BackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3BackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3BackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos3BackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); + swap(height_, other->height_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3BackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3BackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3BackrestSideBolster::VehicleCabinSeatRow2Pos3BackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) +} +VehicleCabinSeatRow2Pos3BackrestSideBolster::VehicleCabinSeatRow2Pos3BackrestSideBolster(const VehicleCabinSeatRow2Pos3BackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + support_ = from.support_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::SharedCtor() { + support_ = 0; +} + +VehicleCabinSeatRow2Pos3BackrestSideBolster::~VehicleCabinSeatRow2Pos3BackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3BackrestSideBolster& VehicleCabinSeatRow2Pos3BackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3BackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + support_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3BackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Support = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + support_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3BackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_support(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow2Pos3BackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Support = 1; + if (!(this->support() <= 0 && this->support() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3BackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3BackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::MergeFrom(const VehicleCabinSeatRow2Pos3BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.support() <= 0 && from.support() >= 0)) { + _internal_set_support(from._internal_support()); + } +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos3BackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3BackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3BackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3BackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos3BackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(support_, other->support_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3BackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3Seating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3Seating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3Seating::VehicleCabinSeatRow2Pos3Seating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) +} +VehicleCabinSeatRow2Pos3Seating::VehicleCabinSeatRow2Pos3Seating(const VehicleCabinSeatRow2Pos3Seating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + length_ = from.length_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) +} + +void VehicleCabinSeatRow2Pos3Seating::SharedCtor() { + length_ = 0u; +} + +VehicleCabinSeatRow2Pos3Seating::~VehicleCabinSeatRow2Pos3Seating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3Seating::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3Seating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3Seating& VehicleCabinSeatRow2Pos3Seating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3Seating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3Seating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + length_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3Seating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Length = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3Seating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_length(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + return target; +} + +size_t VehicleCabinSeatRow2Pos3Seating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Length = 1; + if (this->length() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_length()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3Seating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3Seating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3Seating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3Seating::MergeFrom(const VehicleCabinSeatRow2Pos3Seating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.length() != 0) { + _internal_set_length(from._internal_length()); + } +} + +void VehicleCabinSeatRow2Pos3Seating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3Seating::CopyFrom(const VehicleCabinSeatRow2Pos3Seating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Seating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Seating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Seating::InternalSwap(VehicleCabinSeatRow2Pos3Seating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(length_, other->length_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Seating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3Headrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3Headrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3Headrest::VehicleCabinSeatRow2Pos3Headrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) +} +VehicleCabinSeatRow2Pos3Headrest::VehicleCabinSeatRow2Pos3Headrest(const VehicleCabinSeatRow2Pos3Headrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&height_, &from.height_, + static_cast<size_t>(reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) +} + +void VehicleCabinSeatRow2Pos3Headrest::SharedCtor() { + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); +} + +VehicleCabinSeatRow2Pos3Headrest::~VehicleCabinSeatRow2Pos3Headrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3Headrest::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3Headrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3Headrest& VehicleCabinSeatRow2Pos3Headrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3Headrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3Headrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&height_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&angle_) - + reinterpret_cast<char*>(&height_)) + sizeof(angle_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3Headrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Height = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + height_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Angle = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3Headrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_height(), target); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_angle(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos3Headrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Height = 1; + if (this->height() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_height()); + } + + // float Angle = 2; + if (!(this->angle() <= 0 && this->angle() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3Headrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3Headrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3Headrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3Headrest::MergeFrom(const VehicleCabinSeatRow2Pos3Headrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.height() != 0) { + _internal_set_height(from._internal_height()); + } + if (!(from.angle() <= 0 && from.angle() >= 0)) { + _internal_set_angle(from._internal_angle()); + } +} + +void VehicleCabinSeatRow2Pos3Headrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3Headrest::CopyFrom(const VehicleCabinSeatRow2Pos3Headrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Headrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Headrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Headrest::InternalSwap(VehicleCabinSeatRow2Pos3Headrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(height_, other->height_); + swap(angle_, other->angle_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Headrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3Airbag::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3Airbag::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3Airbag::VehicleCabinSeatRow2Pos3Airbag() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) +} +VehicleCabinSeatRow2Pos3Airbag::VehicleCabinSeatRow2Pos3Airbag(const VehicleCabinSeatRow2Pos3Airbag& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isdeployed_ = from.isdeployed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) +} + +void VehicleCabinSeatRow2Pos3Airbag::SharedCtor() { + isdeployed_ = false; +} + +VehicleCabinSeatRow2Pos3Airbag::~VehicleCabinSeatRow2Pos3Airbag() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3Airbag::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3Airbag::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3Airbag& VehicleCabinSeatRow2Pos3Airbag::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3Airbag_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3Airbag::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isdeployed_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3Airbag::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsDeployed = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isdeployed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3Airbag::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isdeployed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + return target; +} + +size_t VehicleCabinSeatRow2Pos3Airbag::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsDeployed = 1; + if (this->isdeployed() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3Airbag::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3Airbag* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3Airbag>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3Airbag::MergeFrom(const VehicleCabinSeatRow2Pos3Airbag& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isdeployed() != 0) { + _internal_set_isdeployed(from._internal_isdeployed()); + } +} + +void VehicleCabinSeatRow2Pos3Airbag::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3Airbag::CopyFrom(const VehicleCabinSeatRow2Pos3Airbag& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Airbag) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Airbag::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Airbag::InternalSwap(VehicleCabinSeatRow2Pos3Airbag* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isdeployed_, other->isdeployed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Airbag::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3Switch::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Switch_default_instance_._instance.get_mutable()->backrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Switch_default_instance_._instance.get_mutable()->seating_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Switch_default_instance_._instance.get_mutable()->headrest_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3Switch_default_instance_._instance.get_mutable()->massage_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos3Switch::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest& backrest(const VehicleCabinSeatRow2Pos3Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating& seating(const VehicleCabinSeatRow2Pos3Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest& headrest(const VehicleCabinSeatRow2Pos3Switch* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage& massage(const VehicleCabinSeatRow2Pos3Switch* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest& +VehicleCabinSeatRow2Pos3Switch::_Internal::backrest(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->backrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating& +VehicleCabinSeatRow2Pos3Switch::_Internal::seating(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->seating_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest& +VehicleCabinSeatRow2Pos3Switch::_Internal::headrest(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->headrest_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage& +VehicleCabinSeatRow2Pos3Switch::_Internal::massage(const VehicleCabinSeatRow2Pos3Switch* msg) { + return *msg->massage_; +} +VehicleCabinSeatRow2Pos3Switch::VehicleCabinSeatRow2Pos3Switch() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) +} +VehicleCabinSeatRow2Pos3Switch::VehicleCabinSeatRow2Pos3Switch(const VehicleCabinSeatRow2Pos3Switch& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_backrest()) { + backrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest(*from.backrest_); + } else { + backrest_ = nullptr; + } + if (from._internal_has_seating()) { + seating_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating(*from.seating_); + } else { + seating_ = nullptr; + } + if (from._internal_has_headrest()) { + headrest_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest(*from.headrest_); + } else { + headrest_ = nullptr; + } + if (from._internal_has_massage()) { + massage_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage(*from.massage_); + } else { + massage_ = nullptr; + } + ::memcpy(&iswarmerengaged_, &from.iswarmerengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) +} + +void VehicleCabinSeatRow2Pos3Switch::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto.base); + ::memset(&backrest_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&backrest_)) + sizeof(istiltbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos3Switch::~VehicleCabinSeatRow2Pos3Switch() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3Switch::SharedDtor() { + if (this != internal_default_instance()) delete backrest_; + if (this != internal_default_instance()) delete seating_; + if (this != internal_default_instance()) delete headrest_; + if (this != internal_default_instance()) delete massage_; +} + +void VehicleCabinSeatRow2Pos3Switch::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3Switch& VehicleCabinSeatRow2Pos3Switch::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3Switch_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3Switch::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && backrest_ != nullptr) { + delete backrest_; + } + backrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && seating_ != nullptr) { + delete seating_; + } + seating_ = nullptr; + if (GetArenaNoVirtual() == nullptr && headrest_ != nullptr) { + delete headrest_; + } + headrest_ = nullptr; + if (GetArenaNoVirtual() == nullptr && massage_ != nullptr) { + delete massage_; + } + massage_ = nullptr; + ::memset(&iswarmerengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&istiltbackwardengaged_) - + reinterpret_cast<char*>(&iswarmerengaged_)) + sizeof(istiltbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3Switch::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsWarmerEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + iswarmerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsCoolerEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iscoolerengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltForwardEngaged = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + istiltforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsTiltBackwardEngaged = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 64)) { + istiltbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest Backrest = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_backrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating Seating = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_seating(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest Headrest = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 90)) { + ptr = ctx->ParseMessage(_internal_mutable_headrest(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage Massage = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 98)) { + ptr = ctx->ParseMessage(_internal_mutable_massage(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3Switch::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_iswarmerengaged(), target); + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iscoolerengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(6, this->_internal_isdownengaged(), target); + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(7, this->_internal_istiltforwardengaged(), target); + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(8, this->_internal_istiltbackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::backrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating Seating = 10; + if (this->has_seating()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::seating(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 11, _Internal::headrest(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage Massage = 12; + if (this->has_massage()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 12, _Internal::massage(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + return target; +} + +size_t VehicleCabinSeatRow2Pos3Switch::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest Backrest = 9; + if (this->has_backrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *backrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating Seating = 10; + if (this->has_seating()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *seating_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest Headrest = 11; + if (this->has_headrest()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *headrest_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage Massage = 12; + if (this->has_massage()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *massage_); + } + + // bool IsWarmerEngaged = 1; + if (this->iswarmerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsCoolerEngaged = 2; + if (this->iscoolerengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 5; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 6; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltForwardEngaged = 7; + if (this->istiltforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsTiltBackwardEngaged = 8; + if (this->istiltbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3Switch::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3Switch* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3Switch>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3Switch::MergeFrom(const VehicleCabinSeatRow2Pos3Switch& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_backrest()) { + _internal_mutable_backrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest::MergeFrom(from._internal_backrest()); + } + if (from.has_seating()) { + _internal_mutable_seating()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating::MergeFrom(from._internal_seating()); + } + if (from.has_headrest()) { + _internal_mutable_headrest()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest::MergeFrom(from._internal_headrest()); + } + if (from.has_massage()) { + _internal_mutable_massage()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage::MergeFrom(from._internal_massage()); + } + if (from.iswarmerengaged() != 0) { + _internal_set_iswarmerengaged(from._internal_iswarmerengaged()); + } + if (from.iscoolerengaged() != 0) { + _internal_set_iscoolerengaged(from._internal_iscoolerengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.istiltforwardengaged() != 0) { + _internal_set_istiltforwardengaged(from._internal_istiltforwardengaged()); + } + if (from.istiltbackwardengaged() != 0) { + _internal_set_istiltbackwardengaged(from._internal_istiltbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos3Switch::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3Switch::CopyFrom(const VehicleCabinSeatRow2Pos3Switch& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3Switch) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3Switch::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3Switch::InternalSwap(VehicleCabinSeatRow2Pos3Switch* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(backrest_, other->backrest_); + swap(seating_, other->seating_); + swap(headrest_, other->headrest_); + swap(massage_, other->massage_); + swap(iswarmerengaged_, other->iswarmerengaged_); + swap(iscoolerengaged_, other->iscoolerengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(istiltforwardengaged_, other->istiltforwardengaged_); + swap(istiltbackwardengaged_, other->istiltbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3Switch::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3SwitchBackrest::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_._instance.get_mutable()->lumbar_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::internal_default_instance()); + ::com::vehicle::messages::_VehicleCabinSeatRow2Pos3SwitchBackrest_default_instance_._instance.get_mutable()->sidebolster_ = const_cast< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster*>( + ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::internal_default_instance()); +} +class VehicleCabinSeatRow2Pos3SwitchBackrest::_Internal { + public: + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& lumbar(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg); + static const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& sidebolster(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg); +}; + +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& +VehicleCabinSeatRow2Pos3SwitchBackrest::_Internal::lumbar(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg) { + return *msg->lumbar_; +} +const ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& +VehicleCabinSeatRow2Pos3SwitchBackrest::_Internal::sidebolster(const VehicleCabinSeatRow2Pos3SwitchBackrest* msg) { + return *msg->sidebolster_; +} +VehicleCabinSeatRow2Pos3SwitchBackrest::VehicleCabinSeatRow2Pos3SwitchBackrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) +} +VehicleCabinSeatRow2Pos3SwitchBackrest::VehicleCabinSeatRow2Pos3SwitchBackrest(const VehicleCabinSeatRow2Pos3SwitchBackrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_lumbar()) { + lumbar_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar(*from.lumbar_); + } else { + lumbar_ = nullptr; + } + if (from._internal_has_sidebolster()) { + sidebolster_ = new ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster(*from.sidebolster_); + } else { + sidebolster_ = nullptr; + } + ::memcpy(&isreclineforwardengaged_, &from.isreclineforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto.base); + ::memset(&lumbar_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&lumbar_)) + sizeof(isreclinebackwardengaged_)); +} + +VehicleCabinSeatRow2Pos3SwitchBackrest::~VehicleCabinSeatRow2Pos3SwitchBackrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::SharedDtor() { + if (this != internal_default_instance()) delete lumbar_; + if (this != internal_default_instance()) delete sidebolster_; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3SwitchBackrest& VehicleCabinSeatRow2Pos3SwitchBackrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3SwitchBackrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3SwitchBackrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && lumbar_ != nullptr) { + delete lumbar_; + } + lumbar_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sidebolster_ != nullptr) { + delete sidebolster_; + } + sidebolster_ = nullptr; + ::memset(&isreclineforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isreclinebackwardengaged_) - + reinterpret_cast<char*>(&isreclineforwardengaged_)) + sizeof(isreclinebackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchBackrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsReclineForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isreclineforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsReclineBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isreclinebackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar Lumbar = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_lumbar(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster SideBolster = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sidebolster(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3SwitchBackrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isreclineforwardengaged(), target); + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isreclinebackwardengaged(), target); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::lumbar(this), target, stream); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sidebolster(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos3SwitchBackrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar Lumbar = 3; + if (this->has_lumbar()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lumbar_); + } + + // .com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster SideBolster = 4; + if (this->has_sidebolster()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sidebolster_); + } + + // bool IsReclineForwardEngaged = 1; + if (this->isreclineforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsReclineBackwardEngaged = 2; + if (this->isreclinebackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3SwitchBackrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3SwitchBackrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::MergeFrom(const VehicleCabinSeatRow2Pos3SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_lumbar()) { + _internal_mutable_lumbar()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::MergeFrom(from._internal_lumbar()); + } + if (from.has_sidebolster()) { + _internal_mutable_sidebolster()->::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::MergeFrom(from._internal_sidebolster()); + } + if (from.isreclineforwardengaged() != 0) { + _internal_set_isreclineforwardengaged(from._internal_isreclineforwardengaged()); + } + if (from.isreclinebackwardengaged() != 0) { + _internal_set_isreclinebackwardengaged(from._internal_isreclinebackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchBackrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchBackrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrest::InternalSwap(VehicleCabinSeatRow2Pos3SwitchBackrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lumbar_, other->lumbar_); + swap(sidebolster_, other->sidebolster_); + swap(isreclineforwardengaged_, other->isreclineforwardengaged_); + swap(isreclinebackwardengaged_, other->isreclinebackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchBackrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) +} +VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar(const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); +} + +VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::~VehicleCabinSeatRow2Pos3SwitchBackrestLumbar() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestLumbar_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdownengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(isdownengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsUpEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isdownengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + return target; +} + +size_t VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsUpEngaged = 3; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 4; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3SwitchBackrestLumbar>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::MergeFrom(const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchBackrestLumbar& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestLumbar) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::InternalSwap(VehicleCabinSeatRow2Pos3SwitchBackrestLumbar* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchBackrestLumbar::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) +} +VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster(const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&ismoresupportengaged_, &from.ismoresupportengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::SharedCtor() { + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); +} + +VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::~VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&ismoresupportengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&islesssupportengaged_) - + reinterpret_cast<char*>(&ismoresupportengaged_)) + sizeof(islesssupportengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMoreSupportEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismoresupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsLessSupportEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + islesssupportengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismoresupportengaged(), target); + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_islesssupportengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + return target; +} + +size_t VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsMoreSupportEngaged = 1; + if (this->ismoresupportengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsLessSupportEngaged = 2; + if (this->islesssupportengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::MergeFrom(const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ismoresupportengaged() != 0) { + _internal_set_ismoresupportengaged(from._internal_ismoresupportengaged()); + } + if (from.islesssupportengaged() != 0) { + _internal_set_islesssupportengaged(from._internal_islesssupportengaged()); + } +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::InternalSwap(VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(ismoresupportengaged_, other->ismoresupportengaged_); + swap(islesssupportengaged_, other->islesssupportengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3SwitchSeating::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3SwitchSeating::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchSeating::VehicleCabinSeatRow2Pos3SwitchSeating() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) +} +VehicleCabinSeatRow2Pos3SwitchSeating::VehicleCabinSeatRow2Pos3SwitchSeating(const VehicleCabinSeatRow2Pos3SwitchSeating& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isforwardengaged_, &from.isforwardengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::SharedCtor() { + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos3SwitchSeating::~VehicleCabinSeatRow2Pos3SwitchSeating() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3SwitchSeating& VehicleCabinSeatRow2Pos3SwitchSeating::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3SwitchSeating_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3SwitchSeating::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isforwardengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isforwardengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchSeating::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsForwardEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3SwitchSeating::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + return target; +} + +size_t VehicleCabinSeatRow2Pos3SwitchSeating::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsForwardEngaged = 1; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 2; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3SwitchSeating* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3SwitchSeating>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::MergeFrom(const VehicleCabinSeatRow2Pos3SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchSeating& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchSeating) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchSeating::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchSeating::InternalSwap(VehicleCabinSeatRow2Pos3SwitchSeating* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchSeating::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3SwitchHeadrest::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchHeadrest::VehicleCabinSeatRow2Pos3SwitchHeadrest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) +} +VehicleCabinSeatRow2Pos3SwitchHeadrest::VehicleCabinSeatRow2Pos3SwitchHeadrest(const VehicleCabinSeatRow2Pos3SwitchHeadrest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isupengaged_, &from.isupengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::SharedCtor() { + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); +} + +VehicleCabinSeatRow2Pos3SwitchHeadrest::~VehicleCabinSeatRow2Pos3SwitchHeadrest() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3SwitchHeadrest& VehicleCabinSeatRow2Pos3SwitchHeadrest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3SwitchHeadrest_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isupengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbackwardengaged_) - + reinterpret_cast<char*>(&isupengaged_)) + sizeof(isbackwardengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchHeadrest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsUpEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isupengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDownEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdownengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsForwardEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isforwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBackwardEngaged = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbackwardengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3SwitchHeadrest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isupengaged(), target); + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdownengaged(), target); + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isforwardengaged(), target); + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbackwardengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + return target; +} + +size_t VehicleCabinSeatRow2Pos3SwitchHeadrest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsUpEngaged = 1; + if (this->isupengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDownEngaged = 2; + if (this->isdownengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsForwardEngaged = 3; + if (this->isforwardengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsBackwardEngaged = 4; + if (this->isbackwardengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3SwitchHeadrest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3SwitchHeadrest>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::MergeFrom(const VehicleCabinSeatRow2Pos3SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isupengaged() != 0) { + _internal_set_isupengaged(from._internal_isupengaged()); + } + if (from.isdownengaged() != 0) { + _internal_set_isdownengaged(from._internal_isdownengaged()); + } + if (from.isforwardengaged() != 0) { + _internal_set_isforwardengaged(from._internal_isforwardengaged()); + } + if (from.isbackwardengaged() != 0) { + _internal_set_isbackwardengaged(from._internal_isbackwardengaged()); + } +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchHeadrest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchHeadrest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchHeadrest::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchHeadrest::InternalSwap(VehicleCabinSeatRow2Pos3SwitchHeadrest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isupengaged_, other->isupengaged_); + swap(isdownengaged_, other->isdownengaged_); + swap(isforwardengaged_, other->isforwardengaged_); + swap(isbackwardengaged_, other->isbackwardengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchHeadrest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinSeatRow2Pos3SwitchMassage::InitAsDefaultInstance() { +} +class VehicleCabinSeatRow2Pos3SwitchMassage::_Internal { + public: +}; + +VehicleCabinSeatRow2Pos3SwitchMassage::VehicleCabinSeatRow2Pos3SwitchMassage() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) +} +VehicleCabinSeatRow2Pos3SwitchMassage::VehicleCabinSeatRow2Pos3SwitchMassage(const VehicleCabinSeatRow2Pos3SwitchMassage& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isincreaseengaged_, &from.isincreaseengaged_, + static_cast<size_t>(reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::SharedCtor() { + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); +} + +VehicleCabinSeatRow2Pos3SwitchMassage::~VehicleCabinSeatRow2Pos3SwitchMassage() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + SharedDtor(); +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::SharedDtor() { +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinSeatRow2Pos3SwitchMassage& VehicleCabinSeatRow2Pos3SwitchMassage::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinSeatRow2Pos3SwitchMassage_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinSeatRow2Pos3SwitchMassage::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isincreaseengaged_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdecreaseengaged_) - + reinterpret_cast<char*>(&isincreaseengaged_)) + sizeof(isdecreaseengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinSeatRow2Pos3SwitchMassage::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsIncreaseEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isincreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDecreaseEngaged = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdecreaseengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinSeatRow2Pos3SwitchMassage::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isincreaseengaged(), target); + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdecreaseengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + return target; +} + +size_t VehicleCabinSeatRow2Pos3SwitchMassage::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsIncreaseEngaged = 1; + if (this->isincreaseengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsDecreaseEngaged = 2; + if (this->isdecreaseengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinSeatRow2Pos3SwitchMassage* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinSeatRow2Pos3SwitchMassage>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + MergeFrom(*source); + } +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::MergeFrom(const VehicleCabinSeatRow2Pos3SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isincreaseengaged() != 0) { + _internal_set_isincreaseengaged(from._internal_isincreaseengaged()); + } + if (from.isdecreaseengaged() != 0) { + _internal_set_isdecreaseengaged(from._internal_isdecreaseengaged()); + } +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::CopyFrom(const VehicleCabinSeatRow2Pos3SwitchMassage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinSeatRow2Pos3SwitchMassage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinSeatRow2Pos3SwitchMassage::IsInitialized() const { + return true; +} + +void VehicleCabinSeatRow2Pos3SwitchMassage::InternalSwap(VehicleCabinSeatRow2Pos3SwitchMassage* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isincreaseengaged_, other->isincreaseengaged_); + swap(isdecreaseengaged_, other->isdecreaseengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinSeatRow2Pos3SwitchMassage::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleCabinConvertible::InitAsDefaultInstance() { +} +class VehicleCabinConvertible::_Internal { + public: +}; + +VehicleCabinConvertible::VehicleCabinConvertible() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleCabinConvertible) +} +VehicleCabinConvertible::VehicleCabinConvertible(const VehicleCabinConvertible& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_status().empty()) { + status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleCabinConvertible) +} + +void VehicleCabinConvertible::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto.base); + status_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleCabinConvertible::~VehicleCabinConvertible() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleCabinConvertible) + SharedDtor(); +} + +void VehicleCabinConvertible::SharedDtor() { + status_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleCabinConvertible::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleCabinConvertible& VehicleCabinConvertible::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleCabinConvertible_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleCabinConvertible::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleCabinConvertible) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + status_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleCabinConvertible::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_status(), ptr, ctx, "com.vehicle.messages.VehicleCabinConvertible.Status"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleCabinConvertible::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleCabinConvertible) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Status = 1; + if (this->status().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_status().data(), static_cast<int>(this->_internal_status().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleCabinConvertible.Status"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_status(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleCabinConvertible) + return target; +} + +size_t VehicleCabinConvertible::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleCabinConvertible) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Status = 1; + if (this->status().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_status()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleCabinConvertible::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleCabinConvertible) + GOOGLE_DCHECK_NE(&from, this); + const VehicleCabinConvertible* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleCabinConvertible>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleCabinConvertible) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleCabinConvertible) + MergeFrom(*source); + } +} + +void VehicleCabinConvertible::MergeFrom(const VehicleCabinConvertible& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleCabinConvertible) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.status().size() > 0) { + + status_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.status_); + } +} + +void VehicleCabinConvertible::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleCabinConvertible) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleCabinConvertible::CopyFrom(const VehicleCabinConvertible& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleCabinConvertible) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleCabinConvertible::IsInitialized() const { + return true; +} + +void VehicleCabinConvertible::InternalSwap(VehicleCabinConvertible* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + status_.Swap(&other->status_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleCabinConvertible::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADAS::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->cruisecontrol_ = const_cast< ::com::vehicle::messages::VehicleADASCruiseControl*>( + ::com::vehicle::messages::VehicleADASCruiseControl::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->lanedeparturedetection_ = const_cast< ::com::vehicle::messages::VehicleADASLaneDepartureDetection*>( + ::com::vehicle::messages::VehicleADASLaneDepartureDetection::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->obstacledetection_ = const_cast< ::com::vehicle::messages::VehicleADASObstacleDetection*>( + ::com::vehicle::messages::VehicleADASObstacleDetection::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->abs_ = const_cast< ::com::vehicle::messages::VehicleADASABS*>( + ::com::vehicle::messages::VehicleADASABS::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->tcs_ = const_cast< ::com::vehicle::messages::VehicleADASTCS*>( + ::com::vehicle::messages::VehicleADASTCS::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->esc_ = const_cast< ::com::vehicle::messages::VehicleADASESC*>( + ::com::vehicle::messages::VehicleADASESC::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->ebd_ = const_cast< ::com::vehicle::messages::VehicleADASEBD*>( + ::com::vehicle::messages::VehicleADASEBD::internal_default_instance()); + ::com::vehicle::messages::_VehicleADAS_default_instance_._instance.get_mutable()->eba_ = const_cast< ::com::vehicle::messages::VehicleADASEBA*>( + ::com::vehicle::messages::VehicleADASEBA::internal_default_instance()); +} +class VehicleADAS::_Internal { + public: + static const ::com::vehicle::messages::VehicleADASCruiseControl& cruisecontrol(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASLaneDepartureDetection& lanedeparturedetection(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASObstacleDetection& obstacledetection(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASABS& abs(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASTCS& tcs(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASESC& esc(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASEBD& ebd(const VehicleADAS* msg); + static const ::com::vehicle::messages::VehicleADASEBA& eba(const VehicleADAS* msg); +}; + +const ::com::vehicle::messages::VehicleADASCruiseControl& +VehicleADAS::_Internal::cruisecontrol(const VehicleADAS* msg) { + return *msg->cruisecontrol_; +} +const ::com::vehicle::messages::VehicleADASLaneDepartureDetection& +VehicleADAS::_Internal::lanedeparturedetection(const VehicleADAS* msg) { + return *msg->lanedeparturedetection_; +} +const ::com::vehicle::messages::VehicleADASObstacleDetection& +VehicleADAS::_Internal::obstacledetection(const VehicleADAS* msg) { + return *msg->obstacledetection_; +} +const ::com::vehicle::messages::VehicleADASABS& +VehicleADAS::_Internal::abs(const VehicleADAS* msg) { + return *msg->abs_; +} +const ::com::vehicle::messages::VehicleADASTCS& +VehicleADAS::_Internal::tcs(const VehicleADAS* msg) { + return *msg->tcs_; +} +const ::com::vehicle::messages::VehicleADASESC& +VehicleADAS::_Internal::esc(const VehicleADAS* msg) { + return *msg->esc_; +} +const ::com::vehicle::messages::VehicleADASEBD& +VehicleADAS::_Internal::ebd(const VehicleADAS* msg) { + return *msg->ebd_; +} +const ::com::vehicle::messages::VehicleADASEBA& +VehicleADAS::_Internal::eba(const VehicleADAS* msg) { + return *msg->eba_; +} +VehicleADAS::VehicleADAS() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADAS) +} +VehicleADAS::VehicleADAS(const VehicleADAS& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + activeautonomylevel_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_activeautonomylevel().empty()) { + activeautonomylevel_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.activeautonomylevel_); + } + supportedautonomylevel_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_supportedautonomylevel().empty()) { + supportedautonomylevel_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.supportedautonomylevel_); + } + if (from._internal_has_cruisecontrol()) { + cruisecontrol_ = new ::com::vehicle::messages::VehicleADASCruiseControl(*from.cruisecontrol_); + } else { + cruisecontrol_ = nullptr; + } + if (from._internal_has_lanedeparturedetection()) { + lanedeparturedetection_ = new ::com::vehicle::messages::VehicleADASLaneDepartureDetection(*from.lanedeparturedetection_); + } else { + lanedeparturedetection_ = nullptr; + } + if (from._internal_has_obstacledetection()) { + obstacledetection_ = new ::com::vehicle::messages::VehicleADASObstacleDetection(*from.obstacledetection_); + } else { + obstacledetection_ = nullptr; + } + if (from._internal_has_abs()) { + abs_ = new ::com::vehicle::messages::VehicleADASABS(*from.abs_); + } else { + abs_ = nullptr; + } + if (from._internal_has_tcs()) { + tcs_ = new ::com::vehicle::messages::VehicleADASTCS(*from.tcs_); + } else { + tcs_ = nullptr; + } + if (from._internal_has_esc()) { + esc_ = new ::com::vehicle::messages::VehicleADASESC(*from.esc_); + } else { + esc_ = nullptr; + } + if (from._internal_has_ebd()) { + ebd_ = new ::com::vehicle::messages::VehicleADASEBD(*from.ebd_); + } else { + ebd_ = nullptr; + } + if (from._internal_has_eba()) { + eba_ = new ::com::vehicle::messages::VehicleADASEBA(*from.eba_); + } else { + eba_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADAS) +} + +void VehicleADAS::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleADAS_V2C_2fvspec_2eproto.base); + activeautonomylevel_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + supportedautonomylevel_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&cruisecontrol_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&eba_) - + reinterpret_cast<char*>(&cruisecontrol_)) + sizeof(eba_)); +} + +VehicleADAS::~VehicleADAS() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADAS) + SharedDtor(); +} + +void VehicleADAS::SharedDtor() { + activeautonomylevel_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + supportedautonomylevel_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete cruisecontrol_; + if (this != internal_default_instance()) delete lanedeparturedetection_; + if (this != internal_default_instance()) delete obstacledetection_; + if (this != internal_default_instance()) delete abs_; + if (this != internal_default_instance()) delete tcs_; + if (this != internal_default_instance()) delete esc_; + if (this != internal_default_instance()) delete ebd_; + if (this != internal_default_instance()) delete eba_; +} + +void VehicleADAS::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADAS& VehicleADAS::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADAS_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADAS::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADAS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + activeautonomylevel_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + supportedautonomylevel_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && cruisecontrol_ != nullptr) { + delete cruisecontrol_; + } + cruisecontrol_ = nullptr; + if (GetArenaNoVirtual() == nullptr && lanedeparturedetection_ != nullptr) { + delete lanedeparturedetection_; + } + lanedeparturedetection_ = nullptr; + if (GetArenaNoVirtual() == nullptr && obstacledetection_ != nullptr) { + delete obstacledetection_; + } + obstacledetection_ = nullptr; + if (GetArenaNoVirtual() == nullptr && abs_ != nullptr) { + delete abs_; + } + abs_ = nullptr; + if (GetArenaNoVirtual() == nullptr && tcs_ != nullptr) { + delete tcs_; + } + tcs_ = nullptr; + if (GetArenaNoVirtual() == nullptr && esc_ != nullptr) { + delete esc_; + } + esc_ = nullptr; + if (GetArenaNoVirtual() == nullptr && ebd_ != nullptr) { + delete ebd_; + } + ebd_ = nullptr; + if (GetArenaNoVirtual() == nullptr && eba_ != nullptr) { + delete eba_; + } + eba_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleADAS::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string ActiveAutonomyLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_activeautonomylevel(), ptr, ctx, "com.vehicle.messages.VehicleADAS.ActiveAutonomyLevel"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string SupportedAutonomyLevel = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_supportedautonomylevel(), ptr, ctx, "com.vehicle.messages.VehicleADAS.SupportedAutonomyLevel"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASCruiseControl CruiseControl = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_cruisecontrol(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASLaneDepartureDetection LaneDepartureDetection = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_lanedeparturedetection(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASObstacleDetection ObstacleDetection = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_obstacledetection(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASABS ABS = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_abs(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASTCS TCS = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_tcs(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASESC ESC = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_esc(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASEBD EBD = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ctx->ParseMessage(_internal_mutable_ebd(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASEBA EBA = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_eba(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADAS::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADAS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string ActiveAutonomyLevel = 1; + if (this->activeautonomylevel().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_activeautonomylevel().data(), static_cast<int>(this->_internal_activeautonomylevel().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleADAS.ActiveAutonomyLevel"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_activeautonomylevel(), target); + } + + // string SupportedAutonomyLevel = 2; + if (this->supportedautonomylevel().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_supportedautonomylevel().data(), static_cast<int>(this->_internal_supportedautonomylevel().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleADAS.SupportedAutonomyLevel"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_supportedautonomylevel(), target); + } + + // .com.vehicle.messages.VehicleADASCruiseControl CruiseControl = 3; + if (this->has_cruisecontrol()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::cruisecontrol(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASLaneDepartureDetection LaneDepartureDetection = 4; + if (this->has_lanedeparturedetection()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::lanedeparturedetection(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASObstacleDetection ObstacleDetection = 5; + if (this->has_obstacledetection()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::obstacledetection(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASABS ABS = 6; + if (this->has_abs()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::abs(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASTCS TCS = 7; + if (this->has_tcs()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::tcs(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASESC ESC = 8; + if (this->has_esc()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::esc(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASEBD EBD = 9; + if (this->has_ebd()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 9, _Internal::ebd(this), target, stream); + } + + // .com.vehicle.messages.VehicleADASEBA EBA = 10; + if (this->has_eba()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 10, _Internal::eba(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADAS) + return target; +} + +size_t VehicleADAS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADAS) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string ActiveAutonomyLevel = 1; + if (this->activeautonomylevel().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_activeautonomylevel()); + } + + // string SupportedAutonomyLevel = 2; + if (this->supportedautonomylevel().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_supportedautonomylevel()); + } + + // .com.vehicle.messages.VehicleADASCruiseControl CruiseControl = 3; + if (this->has_cruisecontrol()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *cruisecontrol_); + } + + // .com.vehicle.messages.VehicleADASLaneDepartureDetection LaneDepartureDetection = 4; + if (this->has_lanedeparturedetection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *lanedeparturedetection_); + } + + // .com.vehicle.messages.VehicleADASObstacleDetection ObstacleDetection = 5; + if (this->has_obstacledetection()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *obstacledetection_); + } + + // .com.vehicle.messages.VehicleADASABS ABS = 6; + if (this->has_abs()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *abs_); + } + + // .com.vehicle.messages.VehicleADASTCS TCS = 7; + if (this->has_tcs()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *tcs_); + } + + // .com.vehicle.messages.VehicleADASESC ESC = 8; + if (this->has_esc()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *esc_); + } + + // .com.vehicle.messages.VehicleADASEBD EBD = 9; + if (this->has_ebd()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *ebd_); + } + + // .com.vehicle.messages.VehicleADASEBA EBA = 10; + if (this->has_eba()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *eba_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADAS::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADAS) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADAS* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADAS>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADAS) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADAS) + MergeFrom(*source); + } +} + +void VehicleADAS::MergeFrom(const VehicleADAS& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADAS) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.activeautonomylevel().size() > 0) { + + activeautonomylevel_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.activeautonomylevel_); + } + if (from.supportedautonomylevel().size() > 0) { + + supportedautonomylevel_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.supportedautonomylevel_); + } + if (from.has_cruisecontrol()) { + _internal_mutable_cruisecontrol()->::com::vehicle::messages::VehicleADASCruiseControl::MergeFrom(from._internal_cruisecontrol()); + } + if (from.has_lanedeparturedetection()) { + _internal_mutable_lanedeparturedetection()->::com::vehicle::messages::VehicleADASLaneDepartureDetection::MergeFrom(from._internal_lanedeparturedetection()); + } + if (from.has_obstacledetection()) { + _internal_mutable_obstacledetection()->::com::vehicle::messages::VehicleADASObstacleDetection::MergeFrom(from._internal_obstacledetection()); + } + if (from.has_abs()) { + _internal_mutable_abs()->::com::vehicle::messages::VehicleADASABS::MergeFrom(from._internal_abs()); + } + if (from.has_tcs()) { + _internal_mutable_tcs()->::com::vehicle::messages::VehicleADASTCS::MergeFrom(from._internal_tcs()); + } + if (from.has_esc()) { + _internal_mutable_esc()->::com::vehicle::messages::VehicleADASESC::MergeFrom(from._internal_esc()); + } + if (from.has_ebd()) { + _internal_mutable_ebd()->::com::vehicle::messages::VehicleADASEBD::MergeFrom(from._internal_ebd()); + } + if (from.has_eba()) { + _internal_mutable_eba()->::com::vehicle::messages::VehicleADASEBA::MergeFrom(from._internal_eba()); + } +} + +void VehicleADAS::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADAS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADAS::CopyFrom(const VehicleADAS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADAS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADAS::IsInitialized() const { + return true; +} + +void VehicleADAS::InternalSwap(VehicleADAS* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + activeautonomylevel_.Swap(&other->activeautonomylevel_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + supportedautonomylevel_.Swap(&other->supportedautonomylevel_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(cruisecontrol_, other->cruisecontrol_); + swap(lanedeparturedetection_, other->lanedeparturedetection_); + swap(obstacledetection_, other->obstacledetection_); + swap(abs_, other->abs_); + swap(tcs_, other->tcs_); + swap(esc_, other->esc_); + swap(ebd_, other->ebd_); + swap(eba_, other->eba_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADAS::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASCruiseControl::InitAsDefaultInstance() { +} +class VehicleADASCruiseControl::_Internal { + public: +}; + +VehicleADASCruiseControl::VehicleADASCruiseControl() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASCruiseControl) +} +VehicleADASCruiseControl::VehicleADASCruiseControl(const VehicleADASCruiseControl& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&speedset_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(speedset_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASCruiseControl) +} + +void VehicleADASCruiseControl::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&speedset_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(speedset_)); +} + +VehicleADASCruiseControl::~VehicleADASCruiseControl() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASCruiseControl) + SharedDtor(); +} + +void VehicleADASCruiseControl::SharedDtor() { +} + +void VehicleADASCruiseControl::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASCruiseControl& VehicleADASCruiseControl::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASCruiseControl_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASCruiseControl::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASCruiseControl) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&speedset_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(speedset_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASCruiseControl::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsActive = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float SpeedSet = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + speedset_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // bool IsError = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASCruiseControl::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASCruiseControl) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsActive = 2; + if (this->isactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isactive(), target); + } + + // float SpeedSet = 3; + if (!(this->speedset() <= 0 && this->speedset() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_speedset(), target); + } + + // bool IsError = 4; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_iserror(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASCruiseControl) + return target; +} + +size_t VehicleADASCruiseControl::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASCruiseControl) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsActive = 2; + if (this->isactive() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 4; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + // float SpeedSet = 3; + if (!(this->speedset() <= 0 && this->speedset() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASCruiseControl::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASCruiseControl) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASCruiseControl* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASCruiseControl>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASCruiseControl) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASCruiseControl) + MergeFrom(*source); + } +} + +void VehicleADASCruiseControl::MergeFrom(const VehicleADASCruiseControl& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASCruiseControl) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.isactive() != 0) { + _internal_set_isactive(from._internal_isactive()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } + if (!(from.speedset() <= 0 && from.speedset() >= 0)) { + _internal_set_speedset(from._internal_speedset()); + } +} + +void VehicleADASCruiseControl::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASCruiseControl) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASCruiseControl::CopyFrom(const VehicleADASCruiseControl& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASCruiseControl) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASCruiseControl::IsInitialized() const { + return true; +} + +void VehicleADASCruiseControl::InternalSwap(VehicleADASCruiseControl* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(isactive_, other->isactive_); + swap(iserror_, other->iserror_); + swap(speedset_, other->speedset_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASCruiseControl::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASLaneDepartureDetection::InitAsDefaultInstance() { +} +class VehicleADASLaneDepartureDetection::_Internal { + public: +}; + +VehicleADASLaneDepartureDetection::VehicleADASLaneDepartureDetection() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASLaneDepartureDetection) +} +VehicleADASLaneDepartureDetection::VehicleADASLaneDepartureDetection(const VehicleADASLaneDepartureDetection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&iserror_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(iserror_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASLaneDepartureDetection) +} + +void VehicleADASLaneDepartureDetection::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iserror_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(iserror_)); +} + +VehicleADASLaneDepartureDetection::~VehicleADASLaneDepartureDetection() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASLaneDepartureDetection) + SharedDtor(); +} + +void VehicleADASLaneDepartureDetection::SharedDtor() { +} + +void VehicleADASLaneDepartureDetection::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASLaneDepartureDetection& VehicleADASLaneDepartureDetection::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASLaneDepartureDetection_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASLaneDepartureDetection::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iserror_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(iserror_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASLaneDepartureDetection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsWarning = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iswarning_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASLaneDepartureDetection::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsWarning = 2; + if (this->iswarning() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iswarning(), target); + } + + // bool IsError = 3; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_iserror(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASLaneDepartureDetection) + return target; +} + +size_t VehicleADASLaneDepartureDetection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsWarning = 2; + if (this->iswarning() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 3; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASLaneDepartureDetection::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASLaneDepartureDetection* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASLaneDepartureDetection>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASLaneDepartureDetection) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASLaneDepartureDetection) + MergeFrom(*source); + } +} + +void VehicleADASLaneDepartureDetection::MergeFrom(const VehicleADASLaneDepartureDetection& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iswarning() != 0) { + _internal_set_iswarning(from._internal_iswarning()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } +} + +void VehicleADASLaneDepartureDetection::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASLaneDepartureDetection::CopyFrom(const VehicleADASLaneDepartureDetection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASLaneDepartureDetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASLaneDepartureDetection::IsInitialized() const { + return true; +} + +void VehicleADASLaneDepartureDetection::InternalSwap(VehicleADASLaneDepartureDetection* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(iswarning_, other->iswarning_); + swap(iserror_, other->iserror_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASLaneDepartureDetection::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASObstacleDetection::InitAsDefaultInstance() { +} +class VehicleADASObstacleDetection::_Internal { + public: +}; + +VehicleADASObstacleDetection::VehicleADASObstacleDetection() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASObstacleDetection) +} +VehicleADASObstacleDetection::VehicleADASObstacleDetection(const VehicleADASObstacleDetection& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&iserror_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(iserror_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASObstacleDetection) +} + +void VehicleADASObstacleDetection::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iserror_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(iserror_)); +} + +VehicleADASObstacleDetection::~VehicleADASObstacleDetection() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASObstacleDetection) + SharedDtor(); +} + +void VehicleADASObstacleDetection::SharedDtor() { +} + +void VehicleADASObstacleDetection::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASObstacleDetection& VehicleADASObstacleDetection::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASObstacleDetection_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASObstacleDetection::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASObstacleDetection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&iserror_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(iserror_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASObstacleDetection::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsWarning = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iswarning_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASObstacleDetection::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASObstacleDetection) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsWarning = 2; + if (this->iswarning() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iswarning(), target); + } + + // bool IsError = 3; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_iserror(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASObstacleDetection) + return target; +} + +size_t VehicleADASObstacleDetection::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASObstacleDetection) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsWarning = 2; + if (this->iswarning() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 3; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASObstacleDetection::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASObstacleDetection) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASObstacleDetection* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASObstacleDetection>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASObstacleDetection) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASObstacleDetection) + MergeFrom(*source); + } +} + +void VehicleADASObstacleDetection::MergeFrom(const VehicleADASObstacleDetection& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASObstacleDetection) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iswarning() != 0) { + _internal_set_iswarning(from._internal_iswarning()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } +} + +void VehicleADASObstacleDetection::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASObstacleDetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASObstacleDetection::CopyFrom(const VehicleADASObstacleDetection& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASObstacleDetection) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASObstacleDetection::IsInitialized() const { + return true; +} + +void VehicleADASObstacleDetection::InternalSwap(VehicleADASObstacleDetection* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(iswarning_, other->iswarning_); + swap(iserror_, other->iserror_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASObstacleDetection::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASABS::InitAsDefaultInstance() { +} +class VehicleADASABS::_Internal { + public: +}; + +VehicleADASABS::VehicleADASABS() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASABS) +} +VehicleADASABS::VehicleADASABS(const VehicleADASABS& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASABS) +} + +void VehicleADASABS::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); +} + +VehicleADASABS::~VehicleADASABS() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASABS) + SharedDtor(); +} + +void VehicleADASABS::SharedDtor() { +} + +void VehicleADASABS::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASABS& VehicleADASABS::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASABS_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASABS::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASABS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASABS::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASABS::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASABS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASABS) + return target; +} + +size_t VehicleADASABS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASABS) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 2; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASABS::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASABS) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASABS* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASABS>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASABS) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASABS) + MergeFrom(*source); + } +} + +void VehicleADASABS::MergeFrom(const VehicleADASABS& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASABS) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } + if (from.isengaged() != 0) { + _internal_set_isengaged(from._internal_isengaged()); + } +} + +void VehicleADASABS::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASABS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASABS::CopyFrom(const VehicleADASABS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASABS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASABS::IsInitialized() const { + return true; +} + +void VehicleADASABS::InternalSwap(VehicleADASABS* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(iserror_, other->iserror_); + swap(isengaged_, other->isengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASABS::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASTCS::InitAsDefaultInstance() { +} +class VehicleADASTCS::_Internal { + public: +}; + +VehicleADASTCS::VehicleADASTCS() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASTCS) +} +VehicleADASTCS::VehicleADASTCS(const VehicleADASTCS& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASTCS) +} + +void VehicleADASTCS::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); +} + +VehicleADASTCS::~VehicleADASTCS() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASTCS) + SharedDtor(); +} + +void VehicleADASTCS::SharedDtor() { +} + +void VehicleADASTCS::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASTCS& VehicleADASTCS::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASTCS_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASTCS::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASTCS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASTCS::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASTCS::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASTCS) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASTCS) + return target; +} + +size_t VehicleADASTCS::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASTCS) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 2; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASTCS::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASTCS) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASTCS* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASTCS>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASTCS) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASTCS) + MergeFrom(*source); + } +} + +void VehicleADASTCS::MergeFrom(const VehicleADASTCS& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASTCS) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } + if (from.isengaged() != 0) { + _internal_set_isengaged(from._internal_isengaged()); + } +} + +void VehicleADASTCS::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASTCS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASTCS::CopyFrom(const VehicleADASTCS& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASTCS) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASTCS::IsInitialized() const { + return true; +} + +void VehicleADASTCS::InternalSwap(VehicleADASTCS* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(iserror_, other->iserror_); + swap(isengaged_, other->isengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASTCS::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASESC::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleADASESC_default_instance_._instance.get_mutable()->roadfriction_ = const_cast< ::com::vehicle::messages::VehicleADASESCRoadFriction*>( + ::com::vehicle::messages::VehicleADASESCRoadFriction::internal_default_instance()); +} +class VehicleADASESC::_Internal { + public: + static const ::com::vehicle::messages::VehicleADASESCRoadFriction& roadfriction(const VehicleADASESC* msg); +}; + +const ::com::vehicle::messages::VehicleADASESCRoadFriction& +VehicleADASESC::_Internal::roadfriction(const VehicleADASESC* msg) { + return *msg->roadfriction_; +} +VehicleADASESC::VehicleADASESC() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASESC) +} +VehicleADASESC::VehicleADASESC(const VehicleADASESC& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_roadfriction()) { + roadfriction_ = new ::com::vehicle::messages::VehicleADASESCRoadFriction(*from.roadfriction_); + } else { + roadfriction_ = nullptr; + } + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&isstrongcrosswinddetected_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isstrongcrosswinddetected_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASESC) +} + +void VehicleADASESC::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleADASESC_V2C_2fvspec_2eproto.base); + ::memset(&roadfriction_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isstrongcrosswinddetected_) - + reinterpret_cast<char*>(&roadfriction_)) + sizeof(isstrongcrosswinddetected_)); +} + +VehicleADASESC::~VehicleADASESC() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASESC) + SharedDtor(); +} + +void VehicleADASESC::SharedDtor() { + if (this != internal_default_instance()) delete roadfriction_; +} + +void VehicleADASESC::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASESC& VehicleADASESC::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASESC_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASESC::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASESC) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && roadfriction_ != nullptr) { + delete roadfriction_; + } + roadfriction_ = nullptr; + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isstrongcrosswinddetected_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isstrongcrosswinddetected_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASESC::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsStrongCrossWindDetected = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isstrongcrosswinddetected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleADASESCRoadFriction RoadFriction = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_roadfriction(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASESC::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASESC) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isengaged(), target); + } + + // bool IsStrongCrossWindDetected = 4; + if (this->isstrongcrosswinddetected() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isstrongcrosswinddetected(), target); + } + + // .com.vehicle.messages.VehicleADASESCRoadFriction RoadFriction = 5; + if (this->has_roadfriction()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::roadfriction(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASESC) + return target; +} + +size_t VehicleADASESC::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASESC) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleADASESCRoadFriction RoadFriction = 5; + if (this->has_roadfriction()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *roadfriction_); + } + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 2; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + total_size += 1 + 1; + } + + // bool IsStrongCrossWindDetected = 4; + if (this->isstrongcrosswinddetected() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASESC::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASESC) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASESC* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASESC>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASESC) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASESC) + MergeFrom(*source); + } +} + +void VehicleADASESC::MergeFrom(const VehicleADASESC& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASESC) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_roadfriction()) { + _internal_mutable_roadfriction()->::com::vehicle::messages::VehicleADASESCRoadFriction::MergeFrom(from._internal_roadfriction()); + } + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } + if (from.isengaged() != 0) { + _internal_set_isengaged(from._internal_isengaged()); + } + if (from.isstrongcrosswinddetected() != 0) { + _internal_set_isstrongcrosswinddetected(from._internal_isstrongcrosswinddetected()); + } +} + +void VehicleADASESC::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASESC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASESC::CopyFrom(const VehicleADASESC& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASESC) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASESC::IsInitialized() const { + return true; +} + +void VehicleADASESC::InternalSwap(VehicleADASESC* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(roadfriction_, other->roadfriction_); + swap(isenabled_, other->isenabled_); + swap(iserror_, other->iserror_); + swap(isengaged_, other->isengaged_); + swap(isstrongcrosswinddetected_, other->isstrongcrosswinddetected_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASESC::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASESCRoadFriction::InitAsDefaultInstance() { +} +class VehicleADASESCRoadFriction::_Internal { + public: +}; + +VehicleADASESCRoadFriction::VehicleADASESCRoadFriction() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASESCRoadFriction) +} +VehicleADASESCRoadFriction::VehicleADASESCRoadFriction(const VehicleADASESCRoadFriction& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&mostprobable_, &from.mostprobable_, + static_cast<size_t>(reinterpret_cast<char*>(&upperbound_) - + reinterpret_cast<char*>(&mostprobable_)) + sizeof(upperbound_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASESCRoadFriction) +} + +void VehicleADASESCRoadFriction::SharedCtor() { + ::memset(&mostprobable_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&upperbound_) - + reinterpret_cast<char*>(&mostprobable_)) + sizeof(upperbound_)); +} + +VehicleADASESCRoadFriction::~VehicleADASESCRoadFriction() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASESCRoadFriction) + SharedDtor(); +} + +void VehicleADASESCRoadFriction::SharedDtor() { +} + +void VehicleADASESCRoadFriction::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASESCRoadFriction& VehicleADASESCRoadFriction::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASESCRoadFriction_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASESCRoadFriction::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASESCRoadFriction) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&mostprobable_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&upperbound_) - + reinterpret_cast<char*>(&mostprobable_)) + sizeof(upperbound_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASESCRoadFriction::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float MostProbable = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + mostprobable_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LowerBound = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + lowerbound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float UpperBound = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + upperbound_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASESCRoadFriction::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASESCRoadFriction) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float MostProbable = 1; + if (!(this->mostprobable() <= 0 && this->mostprobable() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_mostprobable(), target); + } + + // float LowerBound = 2; + if (!(this->lowerbound() <= 0 && this->lowerbound() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_lowerbound(), target); + } + + // float UpperBound = 3; + if (!(this->upperbound() <= 0 && this->upperbound() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_upperbound(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASESCRoadFriction) + return target; +} + +size_t VehicleADASESCRoadFriction::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASESCRoadFriction) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float MostProbable = 1; + if (!(this->mostprobable() <= 0 && this->mostprobable() >= 0)) { + total_size += 1 + 4; + } + + // float LowerBound = 2; + if (!(this->lowerbound() <= 0 && this->lowerbound() >= 0)) { + total_size += 1 + 4; + } + + // float UpperBound = 3; + if (!(this->upperbound() <= 0 && this->upperbound() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASESCRoadFriction::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASESCRoadFriction) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASESCRoadFriction* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASESCRoadFriction>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASESCRoadFriction) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASESCRoadFriction) + MergeFrom(*source); + } +} + +void VehicleADASESCRoadFriction::MergeFrom(const VehicleADASESCRoadFriction& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASESCRoadFriction) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.mostprobable() <= 0 && from.mostprobable() >= 0)) { + _internal_set_mostprobable(from._internal_mostprobable()); + } + if (!(from.lowerbound() <= 0 && from.lowerbound() >= 0)) { + _internal_set_lowerbound(from._internal_lowerbound()); + } + if (!(from.upperbound() <= 0 && from.upperbound() >= 0)) { + _internal_set_upperbound(from._internal_upperbound()); + } +} + +void VehicleADASESCRoadFriction::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASESCRoadFriction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASESCRoadFriction::CopyFrom(const VehicleADASESCRoadFriction& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASESCRoadFriction) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASESCRoadFriction::IsInitialized() const { + return true; +} + +void VehicleADASESCRoadFriction::InternalSwap(VehicleADASESCRoadFriction* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(mostprobable_, other->mostprobable_); + swap(lowerbound_, other->lowerbound_); + swap(upperbound_, other->upperbound_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASESCRoadFriction::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASEBD::InitAsDefaultInstance() { +} +class VehicleADASEBD::_Internal { + public: +}; + +VehicleADASEBD::VehicleADASEBD() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASEBD) +} +VehicleADASEBD::VehicleADASEBD(const VehicleADASEBD& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASEBD) +} + +void VehicleADASEBD::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); +} + +VehicleADASEBD::~VehicleADASEBD() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASEBD) + SharedDtor(); +} + +void VehicleADASEBD::SharedDtor() { +} + +void VehicleADASEBD::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASEBD& VehicleADASEBD::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASEBD_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASEBD::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASEBD) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASEBD::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASEBD::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASEBD) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASEBD) + return target; +} + +size_t VehicleADASEBD::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASEBD) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 2; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASEBD::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASEBD) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASEBD* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASEBD>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASEBD) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASEBD) + MergeFrom(*source); + } +} + +void VehicleADASEBD::MergeFrom(const VehicleADASEBD& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASEBD) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } + if (from.isengaged() != 0) { + _internal_set_isengaged(from._internal_isengaged()); + } +} + +void VehicleADASEBD::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASEBD) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASEBD::CopyFrom(const VehicleADASEBD& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASEBD) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASEBD::IsInitialized() const { + return true; +} + +void VehicleADASEBD::InternalSwap(VehicleADASEBD* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(iserror_, other->iserror_); + swap(isengaged_, other->isengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASEBD::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleADASEBA::InitAsDefaultInstance() { +} +class VehicleADASEBA::_Internal { + public: +}; + +VehicleADASEBA::VehicleADASEBA() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleADASEBA) +} +VehicleADASEBA::VehicleADASEBA(const VehicleADASEBA& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isenabled_, &from.isenabled_, + static_cast<size_t>(reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleADASEBA) +} + +void VehicleADASEBA::SharedCtor() { + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); +} + +VehicleADASEBA::~VehicleADASEBA() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleADASEBA) + SharedDtor(); +} + +void VehicleADASEBA::SharedDtor() { +} + +void VehicleADASEBA::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleADASEBA& VehicleADASEBA::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleADASEBA_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleADASEBA::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleADASEBA) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isenabled_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isengaged_) - + reinterpret_cast<char*>(&isenabled_)) + sizeof(isengaged_)); + _internal_metadata_.Clear(); +} + +const char* VehicleADASEBA::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEnabled = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isenabled_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsError = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + iserror_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsEngaged = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleADASEBA::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleADASEBA) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isenabled(), target); + } + + // bool IsError = 2; + if (this->iserror() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_iserror(), target); + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleADASEBA) + return target; +} + +size_t VehicleADASEBA::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleADASEBA) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEnabled = 1; + if (this->isenabled() != 0) { + total_size += 1 + 1; + } + + // bool IsError = 2; + if (this->iserror() != 0) { + total_size += 1 + 1; + } + + // bool IsEngaged = 3; + if (this->isengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleADASEBA::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleADASEBA) + GOOGLE_DCHECK_NE(&from, this); + const VehicleADASEBA* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleADASEBA>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleADASEBA) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleADASEBA) + MergeFrom(*source); + } +} + +void VehicleADASEBA::MergeFrom(const VehicleADASEBA& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleADASEBA) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isenabled() != 0) { + _internal_set_isenabled(from._internal_isenabled()); + } + if (from.iserror() != 0) { + _internal_set_iserror(from._internal_iserror()); + } + if (from.isengaged() != 0) { + _internal_set_isengaged(from._internal_isengaged()); + } +} + +void VehicleADASEBA::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleADASEBA) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleADASEBA::CopyFrom(const VehicleADASEBA& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleADASEBA) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleADASEBA::IsInitialized() const { + return true; +} + +void VehicleADASEBA::InternalSwap(VehicleADASEBA* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isenabled_, other->isenabled_); + swap(iserror_, other->iserror_); + swap(isengaged_, other->isengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleADASEBA::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassis::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassis_default_instance_._instance.get_mutable()->axle_ = const_cast< ::com::vehicle::messages::VehicleChassisAxle*>( + ::com::vehicle::messages::VehicleChassisAxle::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassis_default_instance_._instance.get_mutable()->parkingbrake_ = const_cast< ::com::vehicle::messages::VehicleChassisParkingBrake*>( + ::com::vehicle::messages::VehicleChassisParkingBrake::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassis_default_instance_._instance.get_mutable()->steeringwheel_ = const_cast< ::com::vehicle::messages::VehicleChassisSteeringWheel*>( + ::com::vehicle::messages::VehicleChassisSteeringWheel::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassis_default_instance_._instance.get_mutable()->accelerator_ = const_cast< ::com::vehicle::messages::VehicleChassisAccelerator*>( + ::com::vehicle::messages::VehicleChassisAccelerator::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassis_default_instance_._instance.get_mutable()->brake_ = const_cast< ::com::vehicle::messages::VehicleChassisBrake*>( + ::com::vehicle::messages::VehicleChassisBrake::internal_default_instance()); +} +class VehicleChassis::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxle& axle(const VehicleChassis* msg); + static const ::com::vehicle::messages::VehicleChassisParkingBrake& parkingbrake(const VehicleChassis* msg); + static const ::com::vehicle::messages::VehicleChassisSteeringWheel& steeringwheel(const VehicleChassis* msg); + static const ::com::vehicle::messages::VehicleChassisAccelerator& accelerator(const VehicleChassis* msg); + static const ::com::vehicle::messages::VehicleChassisBrake& brake(const VehicleChassis* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxle& +VehicleChassis::_Internal::axle(const VehicleChassis* msg) { + return *msg->axle_; +} +const ::com::vehicle::messages::VehicleChassisParkingBrake& +VehicleChassis::_Internal::parkingbrake(const VehicleChassis* msg) { + return *msg->parkingbrake_; +} +const ::com::vehicle::messages::VehicleChassisSteeringWheel& +VehicleChassis::_Internal::steeringwheel(const VehicleChassis* msg) { + return *msg->steeringwheel_; +} +const ::com::vehicle::messages::VehicleChassisAccelerator& +VehicleChassis::_Internal::accelerator(const VehicleChassis* msg) { + return *msg->accelerator_; +} +const ::com::vehicle::messages::VehicleChassisBrake& +VehicleChassis::_Internal::brake(const VehicleChassis* msg) { + return *msg->brake_; +} +VehicleChassis::VehicleChassis() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassis) +} +VehicleChassis::VehicleChassis(const VehicleChassis& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_axle()) { + axle_ = new ::com::vehicle::messages::VehicleChassisAxle(*from.axle_); + } else { + axle_ = nullptr; + } + if (from._internal_has_parkingbrake()) { + parkingbrake_ = new ::com::vehicle::messages::VehicleChassisParkingBrake(*from.parkingbrake_); + } else { + parkingbrake_ = nullptr; + } + if (from._internal_has_steeringwheel()) { + steeringwheel_ = new ::com::vehicle::messages::VehicleChassisSteeringWheel(*from.steeringwheel_); + } else { + steeringwheel_ = nullptr; + } + if (from._internal_has_accelerator()) { + accelerator_ = new ::com::vehicle::messages::VehicleChassisAccelerator(*from.accelerator_); + } else { + accelerator_ = nullptr; + } + if (from._internal_has_brake()) { + brake_ = new ::com::vehicle::messages::VehicleChassisBrake(*from.brake_); + } else { + brake_ = nullptr; + } + ::memcpy(&wheelbase_, &from.wheelbase_, + static_cast<size_t>(reinterpret_cast<char*>(&axlecount_) - + reinterpret_cast<char*>(&wheelbase_)) + sizeof(axlecount_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassis) +} + +void VehicleChassis::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassis_V2C_2fvspec_2eproto.base); + ::memset(&axle_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&axlecount_) - + reinterpret_cast<char*>(&axle_)) + sizeof(axlecount_)); +} + +VehicleChassis::~VehicleChassis() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassis) + SharedDtor(); +} + +void VehicleChassis::SharedDtor() { + if (this != internal_default_instance()) delete axle_; + if (this != internal_default_instance()) delete parkingbrake_; + if (this != internal_default_instance()) delete steeringwheel_; + if (this != internal_default_instance()) delete accelerator_; + if (this != internal_default_instance()) delete brake_; +} + +void VehicleChassis::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassis& VehicleChassis::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassis_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassis::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassis) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && axle_ != nullptr) { + delete axle_; + } + axle_ = nullptr; + if (GetArenaNoVirtual() == nullptr && parkingbrake_ != nullptr) { + delete parkingbrake_; + } + parkingbrake_ = nullptr; + if (GetArenaNoVirtual() == nullptr && steeringwheel_ != nullptr) { + delete steeringwheel_; + } + steeringwheel_ = nullptr; + if (GetArenaNoVirtual() == nullptr && accelerator_ != nullptr) { + delete accelerator_; + } + accelerator_ = nullptr; + if (GetArenaNoVirtual() == nullptr && brake_ != nullptr) { + delete brake_; + } + brake_ = nullptr; + ::memset(&wheelbase_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&axlecount_) - + reinterpret_cast<char*>(&wheelbase_)) + sizeof(axlecount_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassis::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Wheelbase = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + wheelbase_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Track = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + track_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxle Axle = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_axle(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 AxleCount = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + axlecount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisParkingBrake ParkingBrake = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_parkingbrake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisSteeringWheel SteeringWheel = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_steeringwheel(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAccelerator Accelerator = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_accelerator(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisBrake Brake = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassis::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassis) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Wheelbase = 1; + if (this->wheelbase() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wheelbase(), target); + } + + // uint32 Track = 2; + if (this->track() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_track(), target); + } + + // .com.vehicle.messages.VehicleChassisAxle Axle = 3; + if (this->has_axle()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::axle(this), target, stream); + } + + // uint32 AxleCount = 4; + if (this->axlecount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(4, this->_internal_axlecount(), target); + } + + // .com.vehicle.messages.VehicleChassisParkingBrake ParkingBrake = 5; + if (this->has_parkingbrake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::parkingbrake(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisSteeringWheel SteeringWheel = 6; + if (this->has_steeringwheel()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::steeringwheel(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAccelerator Accelerator = 7; + if (this->has_accelerator()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::accelerator(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisBrake Brake = 8; + if (this->has_brake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::brake(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassis) + return target; +} + +size_t VehicleChassis::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassis) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxle Axle = 3; + if (this->has_axle()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *axle_); + } + + // .com.vehicle.messages.VehicleChassisParkingBrake ParkingBrake = 5; + if (this->has_parkingbrake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *parkingbrake_); + } + + // .com.vehicle.messages.VehicleChassisSteeringWheel SteeringWheel = 6; + if (this->has_steeringwheel()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *steeringwheel_); + } + + // .com.vehicle.messages.VehicleChassisAccelerator Accelerator = 7; + if (this->has_accelerator()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *accelerator_); + } + + // .com.vehicle.messages.VehicleChassisBrake Brake = 8; + if (this->has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *brake_); + } + + // uint32 Wheelbase = 1; + if (this->wheelbase() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_wheelbase()); + } + + // uint32 Track = 2; + if (this->track() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_track()); + } + + // uint32 AxleCount = 4; + if (this->axlecount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_axlecount()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassis::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassis) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassis* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassis>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassis) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassis) + MergeFrom(*source); + } +} + +void VehicleChassis::MergeFrom(const VehicleChassis& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassis) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_axle()) { + _internal_mutable_axle()->::com::vehicle::messages::VehicleChassisAxle::MergeFrom(from._internal_axle()); + } + if (from.has_parkingbrake()) { + _internal_mutable_parkingbrake()->::com::vehicle::messages::VehicleChassisParkingBrake::MergeFrom(from._internal_parkingbrake()); + } + if (from.has_steeringwheel()) { + _internal_mutable_steeringwheel()->::com::vehicle::messages::VehicleChassisSteeringWheel::MergeFrom(from._internal_steeringwheel()); + } + if (from.has_accelerator()) { + _internal_mutable_accelerator()->::com::vehicle::messages::VehicleChassisAccelerator::MergeFrom(from._internal_accelerator()); + } + if (from.has_brake()) { + _internal_mutable_brake()->::com::vehicle::messages::VehicleChassisBrake::MergeFrom(from._internal_brake()); + } + if (from.wheelbase() != 0) { + _internal_set_wheelbase(from._internal_wheelbase()); + } + if (from.track() != 0) { + _internal_set_track(from._internal_track()); + } + if (from.axlecount() != 0) { + _internal_set_axlecount(from._internal_axlecount()); + } +} + +void VehicleChassis::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassis) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassis::CopyFrom(const VehicleChassis& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassis) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassis::IsInitialized() const { + return true; +} + +void VehicleChassis::InternalSwap(VehicleChassis* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(axle_, other->axle_); + swap(parkingbrake_, other->parkingbrake_); + swap(steeringwheel_, other->steeringwheel_); + swap(accelerator_, other->accelerator_); + swap(brake_, other->brake_); + swap(wheelbase_, other->wheelbase_); + swap(track_, other->track_); + swap(axlecount_, other->axlecount_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassis::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxle::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxle_default_instance_._instance.get_mutable()->row1_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1*>( + ::com::vehicle::messages::VehicleChassisAxleRow1::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxle_default_instance_._instance.get_mutable()->row2_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2*>( + ::com::vehicle::messages::VehicleChassisAxleRow2::internal_default_instance()); +} +class VehicleChassisAxle::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow1& row1(const VehicleChassisAxle* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow2& row2(const VehicleChassisAxle* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow1& +VehicleChassisAxle::_Internal::row1(const VehicleChassisAxle* msg) { + return *msg->row1_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow2& +VehicleChassisAxle::_Internal::row2(const VehicleChassisAxle* msg) { + return *msg->row2_; +} +VehicleChassisAxle::VehicleChassisAxle() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxle) +} +VehicleChassisAxle::VehicleChassisAxle(const VehicleChassisAxle& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_row1()) { + row1_ = new ::com::vehicle::messages::VehicleChassisAxleRow1(*from.row1_); + } else { + row1_ = nullptr; + } + if (from._internal_has_row2()) { + row2_ = new ::com::vehicle::messages::VehicleChassisAxleRow2(*from.row2_); + } else { + row2_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxle) +} + +void VehicleChassisAxle::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxle_V2C_2fvspec_2eproto.base); + ::memset(&row1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&row2_) - + reinterpret_cast<char*>(&row1_)) + sizeof(row2_)); +} + +VehicleChassisAxle::~VehicleChassisAxle() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxle) + SharedDtor(); +} + +void VehicleChassisAxle::SharedDtor() { + if (this != internal_default_instance()) delete row1_; + if (this != internal_default_instance()) delete row2_; +} + +void VehicleChassisAxle::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxle& VehicleChassisAxle::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxle_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxle::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxle) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && row1_ != nullptr) { + delete row1_; + } + row1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && row2_ != nullptr) { + delete row2_; + } + row2_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxle::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow1 Row1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_row1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow2 Row2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_row2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxle::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxle) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1 Row1 = 1; + if (this->has_row1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::row1(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2 Row2 = 2; + if (this->has_row2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::row2(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxle) + return target; +} + +size_t VehicleChassisAxle::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxle) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1 Row1 = 1; + if (this->has_row1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row1_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2 Row2 = 2; + if (this->has_row2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *row2_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxle::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxle) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxle* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxle>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxle) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxle) + MergeFrom(*source); + } +} + +void VehicleChassisAxle::MergeFrom(const VehicleChassisAxle& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxle) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_row1()) { + _internal_mutable_row1()->::com::vehicle::messages::VehicleChassisAxleRow1::MergeFrom(from._internal_row1()); + } + if (from.has_row2()) { + _internal_mutable_row2()->::com::vehicle::messages::VehicleChassisAxleRow2::MergeFrom(from._internal_row2()); + } +} + +void VehicleChassisAxle::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxle::CopyFrom(const VehicleChassisAxle& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxle) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxle::IsInitialized() const { + return true; +} + +void VehicleChassisAxle::InternalSwap(VehicleChassisAxle* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(row1_, other->row1_); + swap(row2_, other->row2_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxle::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow1_default_instance_._instance.get_mutable()->wheel_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1Wheel*>( + ::com::vehicle::messages::VehicleChassisAxleRow1Wheel::internal_default_instance()); +} +class VehicleChassisAxleRow1::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow1Wheel& wheel(const VehicleChassisAxleRow1* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow1Wheel& +VehicleChassisAxleRow1::_Internal::wheel(const VehicleChassisAxleRow1* msg) { + return *msg->wheel_; +} +VehicleChassisAxleRow1::VehicleChassisAxleRow1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1) +} +VehicleChassisAxleRow1::VehicleChassisAxleRow1(const VehicleChassisAxleRow1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_wheel()) { + wheel_ = new ::com::vehicle::messages::VehicleChassisAxleRow1Wheel(*from.wheel_); + } else { + wheel_ = nullptr; + } + ::memcpy(&wheelcount_, &from.wheelcount_, + static_cast<size_t>(reinterpret_cast<char*>(&tireaspectratio_) - + reinterpret_cast<char*>(&wheelcount_)) + sizeof(tireaspectratio_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1) +} + +void VehicleChassisAxleRow1::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto.base); + ::memset(&wheel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tireaspectratio_) - + reinterpret_cast<char*>(&wheel_)) + sizeof(tireaspectratio_)); +} + +VehicleChassisAxleRow1::~VehicleChassisAxleRow1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1) + SharedDtor(); +} + +void VehicleChassisAxleRow1::SharedDtor() { + if (this != internal_default_instance()) delete wheel_; +} + +void VehicleChassisAxleRow1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1& VehicleChassisAxleRow1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && wheel_ != nullptr) { + delete wheel_; + } + wheel_ = nullptr; + ::memset(&wheelcount_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tireaspectratio_) - + reinterpret_cast<char*>(&wheelcount_)) + sizeof(tireaspectratio_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 WheelCount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + wheelcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float WheelDiameter = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + wheeldiameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float WheelWidth = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + wheelwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TireDiameter = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + tirediameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 TireWidth = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + tirewidth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 TireAspectRatio = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + tireaspectratio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow1Wheel Wheel = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_wheel(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 WheelCount = 1; + if (this->wheelcount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wheelcount(), target); + } + + // float WheelDiameter = 2; + if (!(this->wheeldiameter() <= 0 && this->wheeldiameter() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_wheeldiameter(), target); + } + + // float WheelWidth = 3; + if (!(this->wheelwidth() <= 0 && this->wheelwidth() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_wheelwidth(), target); + } + + // float TireDiameter = 4; + if (!(this->tirediameter() <= 0 && this->tirediameter() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_tirediameter(), target); + } + + // uint32 TireWidth = 5; + if (this->tirewidth() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_tirewidth(), target); + } + + // uint32 TireAspectRatio = 6; + if (this->tireaspectratio() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tireaspectratio(), target); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1Wheel Wheel = 7; + if (this->has_wheel()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::wheel(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1) + return target; +} + +size_t VehicleChassisAxleRow1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1Wheel Wheel = 7; + if (this->has_wheel()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *wheel_); + } + + // uint32 WheelCount = 1; + if (this->wheelcount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_wheelcount()); + } + + // float WheelDiameter = 2; + if (!(this->wheeldiameter() <= 0 && this->wheeldiameter() >= 0)) { + total_size += 1 + 4; + } + + // float WheelWidth = 3; + if (!(this->wheelwidth() <= 0 && this->wheelwidth() >= 0)) { + total_size += 1 + 4; + } + + // float TireDiameter = 4; + if (!(this->tirediameter() <= 0 && this->tirediameter() >= 0)) { + total_size += 1 + 4; + } + + // uint32 TireWidth = 5; + if (this->tirewidth() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_tirewidth()); + } + + // uint32 TireAspectRatio = 6; + if (this->tireaspectratio() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_tireaspectratio()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1::MergeFrom(const VehicleChassisAxleRow1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_wheel()) { + _internal_mutable_wheel()->::com::vehicle::messages::VehicleChassisAxleRow1Wheel::MergeFrom(from._internal_wheel()); + } + if (from.wheelcount() != 0) { + _internal_set_wheelcount(from._internal_wheelcount()); + } + if (!(from.wheeldiameter() <= 0 && from.wheeldiameter() >= 0)) { + _internal_set_wheeldiameter(from._internal_wheeldiameter()); + } + if (!(from.wheelwidth() <= 0 && from.wheelwidth() >= 0)) { + _internal_set_wheelwidth(from._internal_wheelwidth()); + } + if (!(from.tirediameter() <= 0 && from.tirediameter() >= 0)) { + _internal_set_tirediameter(from._internal_tirediameter()); + } + if (from.tirewidth() != 0) { + _internal_set_tirewidth(from._internal_tirewidth()); + } + if (from.tireaspectratio() != 0) { + _internal_set_tireaspectratio(from._internal_tireaspectratio()); + } +} + +void VehicleChassisAxleRow1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1::CopyFrom(const VehicleChassisAxleRow1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1::InternalSwap(VehicleChassisAxleRow1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(wheel_, other->wheel_); + swap(wheelcount_, other->wheelcount_); + swap(wheeldiameter_, other->wheeldiameter_); + swap(wheelwidth_, other->wheelwidth_); + swap(tirediameter_, other->tirediameter_); + swap(tirewidth_, other->tirewidth_); + swap(tireaspectratio_, other->tireaspectratio_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1Wheel::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow1Wheel_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft*>( + ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxleRow1Wheel_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight*>( + ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight::internal_default_instance()); +} +class VehicleChassisAxleRow1Wheel::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft& left(const VehicleChassisAxleRow1Wheel* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight& right(const VehicleChassisAxleRow1Wheel* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft& +VehicleChassisAxleRow1Wheel::_Internal::left(const VehicleChassisAxleRow1Wheel* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight& +VehicleChassisAxleRow1Wheel::_Internal::right(const VehicleChassisAxleRow1Wheel* msg) { + return *msg->right_; +} +VehicleChassisAxleRow1Wheel::VehicleChassisAxleRow1Wheel() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1Wheel) +} +VehicleChassisAxleRow1Wheel::VehicleChassisAxleRow1Wheel(const VehicleChassisAxleRow1Wheel& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1Wheel) +} + +void VehicleChassisAxleRow1Wheel::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleChassisAxleRow1Wheel::~VehicleChassisAxleRow1Wheel() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + SharedDtor(); +} + +void VehicleChassisAxleRow1Wheel::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleChassisAxleRow1Wheel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1Wheel& VehicleChassisAxleRow1Wheel::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1Wheel_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1Wheel::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1Wheel::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1Wheel::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeft Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRight Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + return target; +} + +size_t VehicleChassisAxleRow1Wheel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeft Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRight Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1Wheel::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1Wheel* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1Wheel>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1Wheel::MergeFrom(const VehicleChassisAxleRow1Wheel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleChassisAxleRow1WheelRight::MergeFrom(from._internal_right()); + } +} + +void VehicleChassisAxleRow1Wheel::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1Wheel::CopyFrom(const VehicleChassisAxleRow1Wheel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1Wheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1Wheel::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1Wheel::InternalSwap(VehicleChassisAxleRow1Wheel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1Wheel::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1WheelLeft::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeft_default_instance_._instance.get_mutable()->brake_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake*>( + ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxleRow1WheelLeft_default_instance_._instance.get_mutable()->tire_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire*>( + ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire::internal_default_instance()); +} +class VehicleChassisAxleRow1WheelLeft::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake& brake(const VehicleChassisAxleRow1WheelLeft* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire& tire(const VehicleChassisAxleRow1WheelLeft* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake& +VehicleChassisAxleRow1WheelLeft::_Internal::brake(const VehicleChassisAxleRow1WheelLeft* msg) { + return *msg->brake_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire& +VehicleChassisAxleRow1WheelLeft::_Internal::tire(const VehicleChassisAxleRow1WheelLeft* msg) { + return *msg->tire_; +} +VehicleChassisAxleRow1WheelLeft::VehicleChassisAxleRow1WheelLeft() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) +} +VehicleChassisAxleRow1WheelLeft::VehicleChassisAxleRow1WheelLeft(const VehicleChassisAxleRow1WheelLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_brake()) { + brake_ = new ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake(*from.brake_); + } else { + brake_ = nullptr; + } + if (from._internal_has_tire()) { + tire_ = new ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire(*from.tire_); + } else { + tire_ = nullptr; + } + speed_ = from.speed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) +} + +void VehicleChassisAxleRow1WheelLeft::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto.base); + ::memset(&brake_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&speed_) - + reinterpret_cast<char*>(&brake_)) + sizeof(speed_)); +} + +VehicleChassisAxleRow1WheelLeft::~VehicleChassisAxleRow1WheelLeft() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + SharedDtor(); +} + +void VehicleChassisAxleRow1WheelLeft::SharedDtor() { + if (this != internal_default_instance()) delete brake_; + if (this != internal_default_instance()) delete tire_; +} + +void VehicleChassisAxleRow1WheelLeft::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1WheelLeft& VehicleChassisAxleRow1WheelLeft::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1WheelLeft_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1WheelLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && brake_ != nullptr) { + delete brake_; + } + brake_ = nullptr; + if (GetArenaNoVirtual() == nullptr && tire_ != nullptr) { + delete tire_; + } + tire_ = nullptr; + speed_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1WheelLeft::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_tire(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Speed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1WheelLeft::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake Brake = 1; + if (this->has_brake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::brake(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire Tire = 2; + if (this->has_tire()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::tire(this), target, stream); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + return target; +} + +size_t VehicleChassisAxleRow1WheelLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake Brake = 1; + if (this->has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *brake_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire Tire = 2; + if (this->has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *tire_); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1WheelLeft::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1WheelLeft* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1WheelLeft>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1WheelLeft::MergeFrom(const VehicleChassisAxleRow1WheelLeft& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_brake()) { + _internal_mutable_brake()->::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake::MergeFrom(from._internal_brake()); + } + if (from.has_tire()) { + _internal_mutable_tire()->::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire::MergeFrom(from._internal_tire()); + } + if (!(from.speed() <= 0 && from.speed() >= 0)) { + _internal_set_speed(from._internal_speed()); + } +} + +void VehicleChassisAxleRow1WheelLeft::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1WheelLeft::CopyFrom(const VehicleChassisAxleRow1WheelLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelLeft::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelLeft::InternalSwap(VehicleChassisAxleRow1WheelLeft* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(brake_, other->brake_); + swap(tire_, other->tire_); + swap(speed_, other->speed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelLeft::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1WheelLeftBrake::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow1WheelLeftBrake::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelLeftBrake::VehicleChassisAxleRow1WheelLeftBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) +} +VehicleChassisAxleRow1WheelLeftBrake::VehicleChassisAxleRow1WheelLeftBrake(const VehicleChassisAxleRow1WheelLeftBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&fluidlevel_, &from.fluidlevel_, + static_cast<size_t>(reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) +} + +void VehicleChassisAxleRow1WheelLeftBrake::SharedCtor() { + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); +} + +VehicleChassisAxleRow1WheelLeftBrake::~VehicleChassisAxleRow1WheelLeftBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + SharedDtor(); +} + +void VehicleChassisAxleRow1WheelLeftBrake::SharedDtor() { +} + +void VehicleChassisAxleRow1WheelLeftBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1WheelLeftBrake& VehicleChassisAxleRow1WheelLeftBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1WheelLeftBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1WheelLeftBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1WheelLeftBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1WheelLeftBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + return target; +} + +size_t VehicleChassisAxleRow1WheelLeftBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + total_size += 1 + 1; + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1WheelLeftBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1WheelLeftBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1WheelLeftBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1WheelLeftBrake::MergeFrom(const VehicleChassisAxleRow1WheelLeftBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.fluidlevel() != 0) { + _internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from.padwear() != 0) { + _internal_set_padwear(from._internal_padwear()); + } + if (from.isfluidlevellow() != 0) { + _internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from.isbrakesworn() != 0) { + _internal_set_isbrakesworn(from._internal_isbrakesworn()); + } +} + +void VehicleChassisAxleRow1WheelLeftBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1WheelLeftBrake::CopyFrom(const VehicleChassisAxleRow1WheelLeftBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelLeftBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelLeftBrake::InternalSwap(VehicleChassisAxleRow1WheelLeftBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(fluidlevel_, other->fluidlevel_); + swap(padwear_, other->padwear_); + swap(isfluidlevellow_, other->isfluidlevellow_); + swap(isbrakesworn_, other->isbrakesworn_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelLeftBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1WheelLeftTire::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow1WheelLeftTire::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelLeftTire::VehicleChassisAxleRow1WheelLeftTire() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) +} +VehicleChassisAxleRow1WheelLeftTire::VehicleChassisAxleRow1WheelLeftTire(const VehicleChassisAxleRow1WheelLeftTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&pressure_, &from.pressure_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) +} + +void VehicleChassisAxleRow1WheelLeftTire::SharedCtor() { + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); +} + +VehicleChassisAxleRow1WheelLeftTire::~VehicleChassisAxleRow1WheelLeftTire() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + SharedDtor(); +} + +void VehicleChassisAxleRow1WheelLeftTire::SharedDtor() { +} + +void VehicleChassisAxleRow1WheelLeftTire::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1WheelLeftTire& VehicleChassisAxleRow1WheelLeftTire::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1WheelLeftTire_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1WheelLeftTire::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1WheelLeftTire::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1WheelLeftTire::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + return target; +} + +size_t VehicleChassisAxleRow1WheelLeftTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + total_size += 1 + 1; + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1WheelLeftTire::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1WheelLeftTire* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1WheelLeftTire>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1WheelLeftTire::MergeFrom(const VehicleChassisAxleRow1WheelLeftTire& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.pressure() != 0) { + _internal_set_pressure(from._internal_pressure()); + } + if (from.ispressurelow() != 0) { + _internal_set_ispressurelow(from._internal_ispressurelow()); + } + if (!(from.temperature() <= 0 && from.temperature() >= 0)) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleChassisAxleRow1WheelLeftTire::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1WheelLeftTire::CopyFrom(const VehicleChassisAxleRow1WheelLeftTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelLeftTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelLeftTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelLeftTire::InternalSwap(VehicleChassisAxleRow1WheelLeftTire* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pressure_, other->pressure_); + swap(ispressurelow_, other->ispressurelow_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelLeftTire::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1WheelRight::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow1WheelRight_default_instance_._instance.get_mutable()->brake_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake*>( + ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxleRow1WheelRight_default_instance_._instance.get_mutable()->tire_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire*>( + ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire::internal_default_instance()); +} +class VehicleChassisAxleRow1WheelRight::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake& brake(const VehicleChassisAxleRow1WheelRight* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire& tire(const VehicleChassisAxleRow1WheelRight* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake& +VehicleChassisAxleRow1WheelRight::_Internal::brake(const VehicleChassisAxleRow1WheelRight* msg) { + return *msg->brake_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire& +VehicleChassisAxleRow1WheelRight::_Internal::tire(const VehicleChassisAxleRow1WheelRight* msg) { + return *msg->tire_; +} +VehicleChassisAxleRow1WheelRight::VehicleChassisAxleRow1WheelRight() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) +} +VehicleChassisAxleRow1WheelRight::VehicleChassisAxleRow1WheelRight(const VehicleChassisAxleRow1WheelRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_brake()) { + brake_ = new ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake(*from.brake_); + } else { + brake_ = nullptr; + } + if (from._internal_has_tire()) { + tire_ = new ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire(*from.tire_); + } else { + tire_ = nullptr; + } + speed_ = from.speed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) +} + +void VehicleChassisAxleRow1WheelRight::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto.base); + ::memset(&brake_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&speed_) - + reinterpret_cast<char*>(&brake_)) + sizeof(speed_)); +} + +VehicleChassisAxleRow1WheelRight::~VehicleChassisAxleRow1WheelRight() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + SharedDtor(); +} + +void VehicleChassisAxleRow1WheelRight::SharedDtor() { + if (this != internal_default_instance()) delete brake_; + if (this != internal_default_instance()) delete tire_; +} + +void VehicleChassisAxleRow1WheelRight::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1WheelRight& VehicleChassisAxleRow1WheelRight::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1WheelRight_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1WheelRight::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && brake_ != nullptr) { + delete brake_; + } + brake_ = nullptr; + if (GetArenaNoVirtual() == nullptr && tire_ != nullptr) { + delete tire_; + } + tire_ = nullptr; + speed_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1WheelRight::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_tire(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Speed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1WheelRight::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake Brake = 1; + if (this->has_brake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::brake(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire Tire = 2; + if (this->has_tire()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::tire(this), target, stream); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + return target; +} + +size_t VehicleChassisAxleRow1WheelRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake Brake = 1; + if (this->has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *brake_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire Tire = 2; + if (this->has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *tire_); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1WheelRight::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1WheelRight* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1WheelRight>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1WheelRight::MergeFrom(const VehicleChassisAxleRow1WheelRight& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_brake()) { + _internal_mutable_brake()->::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake::MergeFrom(from._internal_brake()); + } + if (from.has_tire()) { + _internal_mutable_tire()->::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire::MergeFrom(from._internal_tire()); + } + if (!(from.speed() <= 0 && from.speed() >= 0)) { + _internal_set_speed(from._internal_speed()); + } +} + +void VehicleChassisAxleRow1WheelRight::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1WheelRight::CopyFrom(const VehicleChassisAxleRow1WheelRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelRight::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelRight::InternalSwap(VehicleChassisAxleRow1WheelRight* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(brake_, other->brake_); + swap(tire_, other->tire_); + swap(speed_, other->speed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelRight::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1WheelRightBrake::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow1WheelRightBrake::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelRightBrake::VehicleChassisAxleRow1WheelRightBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) +} +VehicleChassisAxleRow1WheelRightBrake::VehicleChassisAxleRow1WheelRightBrake(const VehicleChassisAxleRow1WheelRightBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&fluidlevel_, &from.fluidlevel_, + static_cast<size_t>(reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) +} + +void VehicleChassisAxleRow1WheelRightBrake::SharedCtor() { + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); +} + +VehicleChassisAxleRow1WheelRightBrake::~VehicleChassisAxleRow1WheelRightBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + SharedDtor(); +} + +void VehicleChassisAxleRow1WheelRightBrake::SharedDtor() { +} + +void VehicleChassisAxleRow1WheelRightBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1WheelRightBrake& VehicleChassisAxleRow1WheelRightBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1WheelRightBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1WheelRightBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1WheelRightBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1WheelRightBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + return target; +} + +size_t VehicleChassisAxleRow1WheelRightBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + total_size += 1 + 1; + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1WheelRightBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1WheelRightBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1WheelRightBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1WheelRightBrake::MergeFrom(const VehicleChassisAxleRow1WheelRightBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.fluidlevel() != 0) { + _internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from.padwear() != 0) { + _internal_set_padwear(from._internal_padwear()); + } + if (from.isfluidlevellow() != 0) { + _internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from.isbrakesworn() != 0) { + _internal_set_isbrakesworn(from._internal_isbrakesworn()); + } +} + +void VehicleChassisAxleRow1WheelRightBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1WheelRightBrake::CopyFrom(const VehicleChassisAxleRow1WheelRightBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelRightBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelRightBrake::InternalSwap(VehicleChassisAxleRow1WheelRightBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(fluidlevel_, other->fluidlevel_); + swap(padwear_, other->padwear_); + swap(isfluidlevellow_, other->isfluidlevellow_); + swap(isbrakesworn_, other->isbrakesworn_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelRightBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow1WheelRightTire::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow1WheelRightTire::_Internal { + public: +}; + +VehicleChassisAxleRow1WheelRightTire::VehicleChassisAxleRow1WheelRightTire() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) +} +VehicleChassisAxleRow1WheelRightTire::VehicleChassisAxleRow1WheelRightTire(const VehicleChassisAxleRow1WheelRightTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&pressure_, &from.pressure_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) +} + +void VehicleChassisAxleRow1WheelRightTire::SharedCtor() { + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); +} + +VehicleChassisAxleRow1WheelRightTire::~VehicleChassisAxleRow1WheelRightTire() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + SharedDtor(); +} + +void VehicleChassisAxleRow1WheelRightTire::SharedDtor() { +} + +void VehicleChassisAxleRow1WheelRightTire::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow1WheelRightTire& VehicleChassisAxleRow1WheelRightTire::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow1WheelRightTire_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow1WheelRightTire::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow1WheelRightTire::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow1WheelRightTire::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + return target; +} + +size_t VehicleChassisAxleRow1WheelRightTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + total_size += 1 + 1; + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow1WheelRightTire::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow1WheelRightTire* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow1WheelRightTire>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow1WheelRightTire::MergeFrom(const VehicleChassisAxleRow1WheelRightTire& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.pressure() != 0) { + _internal_set_pressure(from._internal_pressure()); + } + if (from.ispressurelow() != 0) { + _internal_set_ispressurelow(from._internal_ispressurelow()); + } + if (!(from.temperature() <= 0 && from.temperature() >= 0)) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleChassisAxleRow1WheelRightTire::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow1WheelRightTire::CopyFrom(const VehicleChassisAxleRow1WheelRightTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow1WheelRightTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow1WheelRightTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow1WheelRightTire::InternalSwap(VehicleChassisAxleRow1WheelRightTire* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pressure_, other->pressure_); + swap(ispressurelow_, other->ispressurelow_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow1WheelRightTire::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow2_default_instance_._instance.get_mutable()->wheel_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2Wheel*>( + ::com::vehicle::messages::VehicleChassisAxleRow2Wheel::internal_default_instance()); +} +class VehicleChassisAxleRow2::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow2Wheel& wheel(const VehicleChassisAxleRow2* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow2Wheel& +VehicleChassisAxleRow2::_Internal::wheel(const VehicleChassisAxleRow2* msg) { + return *msg->wheel_; +} +VehicleChassisAxleRow2::VehicleChassisAxleRow2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2) +} +VehicleChassisAxleRow2::VehicleChassisAxleRow2(const VehicleChassisAxleRow2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_wheel()) { + wheel_ = new ::com::vehicle::messages::VehicleChassisAxleRow2Wheel(*from.wheel_); + } else { + wheel_ = nullptr; + } + ::memcpy(&wheelcount_, &from.wheelcount_, + static_cast<size_t>(reinterpret_cast<char*>(&tireaspectratio_) - + reinterpret_cast<char*>(&wheelcount_)) + sizeof(tireaspectratio_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2) +} + +void VehicleChassisAxleRow2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto.base); + ::memset(&wheel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tireaspectratio_) - + reinterpret_cast<char*>(&wheel_)) + sizeof(tireaspectratio_)); +} + +VehicleChassisAxleRow2::~VehicleChassisAxleRow2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2) + SharedDtor(); +} + +void VehicleChassisAxleRow2::SharedDtor() { + if (this != internal_default_instance()) delete wheel_; +} + +void VehicleChassisAxleRow2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2& VehicleChassisAxleRow2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && wheel_ != nullptr) { + delete wheel_; + } + wheel_ = nullptr; + ::memset(&wheelcount_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&tireaspectratio_) - + reinterpret_cast<char*>(&wheelcount_)) + sizeof(tireaspectratio_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 WheelCount = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + wheelcount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float WheelDiameter = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + wheeldiameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float WheelWidth = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + wheelwidth_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TireDiameter = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + tirediameter_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 TireWidth = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + tirewidth_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 TireAspectRatio = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + tireaspectratio_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow2Wheel Wheel = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_wheel(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 WheelCount = 1; + if (this->wheelcount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_wheelcount(), target); + } + + // float WheelDiameter = 2; + if (!(this->wheeldiameter() <= 0 && this->wheeldiameter() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_wheeldiameter(), target); + } + + // float WheelWidth = 3; + if (!(this->wheelwidth() <= 0 && this->wheelwidth() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_wheelwidth(), target); + } + + // float TireDiameter = 4; + if (!(this->tirediameter() <= 0 && this->tirediameter() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_tirediameter(), target); + } + + // uint32 TireWidth = 5; + if (this->tirewidth() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(5, this->_internal_tirewidth(), target); + } + + // uint32 TireAspectRatio = 6; + if (this->tireaspectratio() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_tireaspectratio(), target); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2Wheel Wheel = 7; + if (this->has_wheel()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::wheel(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2) + return target; +} + +size_t VehicleChassisAxleRow2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2Wheel Wheel = 7; + if (this->has_wheel()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *wheel_); + } + + // uint32 WheelCount = 1; + if (this->wheelcount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_wheelcount()); + } + + // float WheelDiameter = 2; + if (!(this->wheeldiameter() <= 0 && this->wheeldiameter() >= 0)) { + total_size += 1 + 4; + } + + // float WheelWidth = 3; + if (!(this->wheelwidth() <= 0 && this->wheelwidth() >= 0)) { + total_size += 1 + 4; + } + + // float TireDiameter = 4; + if (!(this->tirediameter() <= 0 && this->tirediameter() >= 0)) { + total_size += 1 + 4; + } + + // uint32 TireWidth = 5; + if (this->tirewidth() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_tirewidth()); + } + + // uint32 TireAspectRatio = 6; + if (this->tireaspectratio() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_tireaspectratio()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2::MergeFrom(const VehicleChassisAxleRow2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_wheel()) { + _internal_mutable_wheel()->::com::vehicle::messages::VehicleChassisAxleRow2Wheel::MergeFrom(from._internal_wheel()); + } + if (from.wheelcount() != 0) { + _internal_set_wheelcount(from._internal_wheelcount()); + } + if (!(from.wheeldiameter() <= 0 && from.wheeldiameter() >= 0)) { + _internal_set_wheeldiameter(from._internal_wheeldiameter()); + } + if (!(from.wheelwidth() <= 0 && from.wheelwidth() >= 0)) { + _internal_set_wheelwidth(from._internal_wheelwidth()); + } + if (!(from.tirediameter() <= 0 && from.tirediameter() >= 0)) { + _internal_set_tirediameter(from._internal_tirediameter()); + } + if (from.tirewidth() != 0) { + _internal_set_tirewidth(from._internal_tirewidth()); + } + if (from.tireaspectratio() != 0) { + _internal_set_tireaspectratio(from._internal_tireaspectratio()); + } +} + +void VehicleChassisAxleRow2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2::CopyFrom(const VehicleChassisAxleRow2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2::InternalSwap(VehicleChassisAxleRow2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(wheel_, other->wheel_); + swap(wheelcount_, other->wheelcount_); + swap(wheeldiameter_, other->wheeldiameter_); + swap(wheelwidth_, other->wheelwidth_); + swap(tirediameter_, other->tirediameter_); + swap(tirewidth_, other->tirewidth_); + swap(tireaspectratio_, other->tireaspectratio_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2Wheel::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow2Wheel_default_instance_._instance.get_mutable()->left_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft*>( + ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxleRow2Wheel_default_instance_._instance.get_mutable()->right_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight*>( + ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight::internal_default_instance()); +} +class VehicleChassisAxleRow2Wheel::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft& left(const VehicleChassisAxleRow2Wheel* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight& right(const VehicleChassisAxleRow2Wheel* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft& +VehicleChassisAxleRow2Wheel::_Internal::left(const VehicleChassisAxleRow2Wheel* msg) { + return *msg->left_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight& +VehicleChassisAxleRow2Wheel::_Internal::right(const VehicleChassisAxleRow2Wheel* msg) { + return *msg->right_; +} +VehicleChassisAxleRow2Wheel::VehicleChassisAxleRow2Wheel() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2Wheel) +} +VehicleChassisAxleRow2Wheel::VehicleChassisAxleRow2Wheel(const VehicleChassisAxleRow2Wheel& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_left()) { + left_ = new ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft(*from.left_); + } else { + left_ = nullptr; + } + if (from._internal_has_right()) { + right_ = new ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight(*from.right_); + } else { + right_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2Wheel) +} + +void VehicleChassisAxleRow2Wheel::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto.base); + ::memset(&left_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&right_) - + reinterpret_cast<char*>(&left_)) + sizeof(right_)); +} + +VehicleChassisAxleRow2Wheel::~VehicleChassisAxleRow2Wheel() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + SharedDtor(); +} + +void VehicleChassisAxleRow2Wheel::SharedDtor() { + if (this != internal_default_instance()) delete left_; + if (this != internal_default_instance()) delete right_; +} + +void VehicleChassisAxleRow2Wheel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2Wheel& VehicleChassisAxleRow2Wheel::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2Wheel_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2Wheel::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && left_ != nullptr) { + delete left_; + } + left_ = nullptr; + if (GetArenaNoVirtual() == nullptr && right_ != nullptr) { + delete right_; + } + right_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2Wheel::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeft Left = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_left(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRight Right = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_right(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2Wheel::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeft Left = 1; + if (this->has_left()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::left(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRight Right = 2; + if (this->has_right()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::right(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + return target; +} + +size_t VehicleChassisAxleRow2Wheel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeft Left = 1; + if (this->has_left()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *left_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRight Right = 2; + if (this->has_right()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *right_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2Wheel::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2Wheel* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2Wheel>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2Wheel::MergeFrom(const VehicleChassisAxleRow2Wheel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_left()) { + _internal_mutable_left()->::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft::MergeFrom(from._internal_left()); + } + if (from.has_right()) { + _internal_mutable_right()->::com::vehicle::messages::VehicleChassisAxleRow2WheelRight::MergeFrom(from._internal_right()); + } +} + +void VehicleChassisAxleRow2Wheel::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2Wheel::CopyFrom(const VehicleChassisAxleRow2Wheel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2Wheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2Wheel::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2Wheel::InternalSwap(VehicleChassisAxleRow2Wheel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(left_, other->left_); + swap(right_, other->right_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2Wheel::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2WheelLeft::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeft_default_instance_._instance.get_mutable()->brake_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake*>( + ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxleRow2WheelLeft_default_instance_._instance.get_mutable()->tire_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire*>( + ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire::internal_default_instance()); +} +class VehicleChassisAxleRow2WheelLeft::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake& brake(const VehicleChassisAxleRow2WheelLeft* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire& tire(const VehicleChassisAxleRow2WheelLeft* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake& +VehicleChassisAxleRow2WheelLeft::_Internal::brake(const VehicleChassisAxleRow2WheelLeft* msg) { + return *msg->brake_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire& +VehicleChassisAxleRow2WheelLeft::_Internal::tire(const VehicleChassisAxleRow2WheelLeft* msg) { + return *msg->tire_; +} +VehicleChassisAxleRow2WheelLeft::VehicleChassisAxleRow2WheelLeft() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) +} +VehicleChassisAxleRow2WheelLeft::VehicleChassisAxleRow2WheelLeft(const VehicleChassisAxleRow2WheelLeft& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_brake()) { + brake_ = new ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake(*from.brake_); + } else { + brake_ = nullptr; + } + if (from._internal_has_tire()) { + tire_ = new ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire(*from.tire_); + } else { + tire_ = nullptr; + } + speed_ = from.speed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) +} + +void VehicleChassisAxleRow2WheelLeft::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto.base); + ::memset(&brake_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&speed_) - + reinterpret_cast<char*>(&brake_)) + sizeof(speed_)); +} + +VehicleChassisAxleRow2WheelLeft::~VehicleChassisAxleRow2WheelLeft() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + SharedDtor(); +} + +void VehicleChassisAxleRow2WheelLeft::SharedDtor() { + if (this != internal_default_instance()) delete brake_; + if (this != internal_default_instance()) delete tire_; +} + +void VehicleChassisAxleRow2WheelLeft::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2WheelLeft& VehicleChassisAxleRow2WheelLeft::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2WheelLeft_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2WheelLeft::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && brake_ != nullptr) { + delete brake_; + } + brake_ = nullptr; + if (GetArenaNoVirtual() == nullptr && tire_ != nullptr) { + delete tire_; + } + tire_ = nullptr; + speed_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2WheelLeft::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_tire(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Speed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2WheelLeft::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake Brake = 1; + if (this->has_brake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::brake(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire Tire = 2; + if (this->has_tire()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::tire(this), target, stream); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + return target; +} + +size_t VehicleChassisAxleRow2WheelLeft::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake Brake = 1; + if (this->has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *brake_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire Tire = 2; + if (this->has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *tire_); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2WheelLeft::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2WheelLeft* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2WheelLeft>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2WheelLeft::MergeFrom(const VehicleChassisAxleRow2WheelLeft& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_brake()) { + _internal_mutable_brake()->::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake::MergeFrom(from._internal_brake()); + } + if (from.has_tire()) { + _internal_mutable_tire()->::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire::MergeFrom(from._internal_tire()); + } + if (!(from.speed() <= 0 && from.speed() >= 0)) { + _internal_set_speed(from._internal_speed()); + } +} + +void VehicleChassisAxleRow2WheelLeft::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2WheelLeft::CopyFrom(const VehicleChassisAxleRow2WheelLeft& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeft) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelLeft::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelLeft::InternalSwap(VehicleChassisAxleRow2WheelLeft* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(brake_, other->brake_); + swap(tire_, other->tire_); + swap(speed_, other->speed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelLeft::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2WheelLeftBrake::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow2WheelLeftBrake::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelLeftBrake::VehicleChassisAxleRow2WheelLeftBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) +} +VehicleChassisAxleRow2WheelLeftBrake::VehicleChassisAxleRow2WheelLeftBrake(const VehicleChassisAxleRow2WheelLeftBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&fluidlevel_, &from.fluidlevel_, + static_cast<size_t>(reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) +} + +void VehicleChassisAxleRow2WheelLeftBrake::SharedCtor() { + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); +} + +VehicleChassisAxleRow2WheelLeftBrake::~VehicleChassisAxleRow2WheelLeftBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + SharedDtor(); +} + +void VehicleChassisAxleRow2WheelLeftBrake::SharedDtor() { +} + +void VehicleChassisAxleRow2WheelLeftBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2WheelLeftBrake& VehicleChassisAxleRow2WheelLeftBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2WheelLeftBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2WheelLeftBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2WheelLeftBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2WheelLeftBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + return target; +} + +size_t VehicleChassisAxleRow2WheelLeftBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + total_size += 1 + 1; + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2WheelLeftBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2WheelLeftBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2WheelLeftBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2WheelLeftBrake::MergeFrom(const VehicleChassisAxleRow2WheelLeftBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.fluidlevel() != 0) { + _internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from.padwear() != 0) { + _internal_set_padwear(from._internal_padwear()); + } + if (from.isfluidlevellow() != 0) { + _internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from.isbrakesworn() != 0) { + _internal_set_isbrakesworn(from._internal_isbrakesworn()); + } +} + +void VehicleChassisAxleRow2WheelLeftBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2WheelLeftBrake::CopyFrom(const VehicleChassisAxleRow2WheelLeftBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelLeftBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelLeftBrake::InternalSwap(VehicleChassisAxleRow2WheelLeftBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(fluidlevel_, other->fluidlevel_); + swap(padwear_, other->padwear_); + swap(isfluidlevellow_, other->isfluidlevellow_); + swap(isbrakesworn_, other->isbrakesworn_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelLeftBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2WheelLeftTire::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow2WheelLeftTire::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelLeftTire::VehicleChassisAxleRow2WheelLeftTire() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) +} +VehicleChassisAxleRow2WheelLeftTire::VehicleChassisAxleRow2WheelLeftTire(const VehicleChassisAxleRow2WheelLeftTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&pressure_, &from.pressure_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) +} + +void VehicleChassisAxleRow2WheelLeftTire::SharedCtor() { + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); +} + +VehicleChassisAxleRow2WheelLeftTire::~VehicleChassisAxleRow2WheelLeftTire() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + SharedDtor(); +} + +void VehicleChassisAxleRow2WheelLeftTire::SharedDtor() { +} + +void VehicleChassisAxleRow2WheelLeftTire::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2WheelLeftTire& VehicleChassisAxleRow2WheelLeftTire::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2WheelLeftTire_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2WheelLeftTire::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2WheelLeftTire::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2WheelLeftTire::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + return target; +} + +size_t VehicleChassisAxleRow2WheelLeftTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + total_size += 1 + 1; + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2WheelLeftTire::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2WheelLeftTire* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2WheelLeftTire>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2WheelLeftTire::MergeFrom(const VehicleChassisAxleRow2WheelLeftTire& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.pressure() != 0) { + _internal_set_pressure(from._internal_pressure()); + } + if (from.ispressurelow() != 0) { + _internal_set_ispressurelow(from._internal_ispressurelow()); + } + if (!(from.temperature() <= 0 && from.temperature() >= 0)) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleChassisAxleRow2WheelLeftTire::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2WheelLeftTire::CopyFrom(const VehicleChassisAxleRow2WheelLeftTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelLeftTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelLeftTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelLeftTire::InternalSwap(VehicleChassisAxleRow2WheelLeftTire* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pressure_, other->pressure_); + swap(ispressurelow_, other->ispressurelow_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelLeftTire::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2WheelRight::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleChassisAxleRow2WheelRight_default_instance_._instance.get_mutable()->brake_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake*>( + ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake::internal_default_instance()); + ::com::vehicle::messages::_VehicleChassisAxleRow2WheelRight_default_instance_._instance.get_mutable()->tire_ = const_cast< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire*>( + ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire::internal_default_instance()); +} +class VehicleChassisAxleRow2WheelRight::_Internal { + public: + static const ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake& brake(const VehicleChassisAxleRow2WheelRight* msg); + static const ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire& tire(const VehicleChassisAxleRow2WheelRight* msg); +}; + +const ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake& +VehicleChassisAxleRow2WheelRight::_Internal::brake(const VehicleChassisAxleRow2WheelRight* msg) { + return *msg->brake_; +} +const ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire& +VehicleChassisAxleRow2WheelRight::_Internal::tire(const VehicleChassisAxleRow2WheelRight* msg) { + return *msg->tire_; +} +VehicleChassisAxleRow2WheelRight::VehicleChassisAxleRow2WheelRight() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) +} +VehicleChassisAxleRow2WheelRight::VehicleChassisAxleRow2WheelRight(const VehicleChassisAxleRow2WheelRight& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_brake()) { + brake_ = new ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake(*from.brake_); + } else { + brake_ = nullptr; + } + if (from._internal_has_tire()) { + tire_ = new ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire(*from.tire_); + } else { + tire_ = nullptr; + } + speed_ = from.speed_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) +} + +void VehicleChassisAxleRow2WheelRight::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto.base); + ::memset(&brake_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&speed_) - + reinterpret_cast<char*>(&brake_)) + sizeof(speed_)); +} + +VehicleChassisAxleRow2WheelRight::~VehicleChassisAxleRow2WheelRight() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + SharedDtor(); +} + +void VehicleChassisAxleRow2WheelRight::SharedDtor() { + if (this != internal_default_instance()) delete brake_; + if (this != internal_default_instance()) delete tire_; +} + +void VehicleChassisAxleRow2WheelRight::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2WheelRight& VehicleChassisAxleRow2WheelRight::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2WheelRight_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2WheelRight::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && brake_ != nullptr) { + delete brake_; + } + brake_ = nullptr; + if (GetArenaNoVirtual() == nullptr && tire_ != nullptr) { + delete tire_; + } + tire_ = nullptr; + speed_ = 0; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2WheelRight::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake Brake = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_brake(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire Tire = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_tire(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Speed = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2WheelRight::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake Brake = 1; + if (this->has_brake()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::brake(this), target, stream); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire Tire = 2; + if (this->has_tire()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::tire(this), target, stream); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_speed(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + return target; +} + +size_t VehicleChassisAxleRow2WheelRight::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake Brake = 1; + if (this->has_brake()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *brake_); + } + + // .com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire Tire = 2; + if (this->has_tire()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *tire_); + } + + // float Speed = 3; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2WheelRight::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2WheelRight* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2WheelRight>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2WheelRight::MergeFrom(const VehicleChassisAxleRow2WheelRight& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_brake()) { + _internal_mutable_brake()->::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake::MergeFrom(from._internal_brake()); + } + if (from.has_tire()) { + _internal_mutable_tire()->::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire::MergeFrom(from._internal_tire()); + } + if (!(from.speed() <= 0 && from.speed() >= 0)) { + _internal_set_speed(from._internal_speed()); + } +} + +void VehicleChassisAxleRow2WheelRight::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2WheelRight::CopyFrom(const VehicleChassisAxleRow2WheelRight& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRight) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelRight::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelRight::InternalSwap(VehicleChassisAxleRow2WheelRight* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(brake_, other->brake_); + swap(tire_, other->tire_); + swap(speed_, other->speed_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelRight::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2WheelRightBrake::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow2WheelRightBrake::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelRightBrake::VehicleChassisAxleRow2WheelRightBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) +} +VehicleChassisAxleRow2WheelRightBrake::VehicleChassisAxleRow2WheelRightBrake(const VehicleChassisAxleRow2WheelRightBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&fluidlevel_, &from.fluidlevel_, + static_cast<size_t>(reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) +} + +void VehicleChassisAxleRow2WheelRightBrake::SharedCtor() { + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); +} + +VehicleChassisAxleRow2WheelRightBrake::~VehicleChassisAxleRow2WheelRightBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + SharedDtor(); +} + +void VehicleChassisAxleRow2WheelRightBrake::SharedDtor() { +} + +void VehicleChassisAxleRow2WheelRightBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2WheelRightBrake& VehicleChassisAxleRow2WheelRightBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2WheelRightBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2WheelRightBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&fluidlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isbrakesworn_) - + reinterpret_cast<char*>(&fluidlevel_)) + sizeof(isbrakesworn_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2WheelRightBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 FluidLevel = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + fluidlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsFluidLevelLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isfluidlevellow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 PadWear = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + padwear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsBrakesWorn = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + isbrakesworn_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2WheelRightBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_fluidlevel(), target); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isfluidlevellow(), target); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_padwear(), target); + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->_internal_isbrakesworn(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + return target; +} + +size_t VehicleChassisAxleRow2WheelRightBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 FluidLevel = 1; + if (this->fluidlevel() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_fluidlevel()); + } + + // uint32 PadWear = 3; + if (this->padwear() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_padwear()); + } + + // bool IsFluidLevelLow = 2; + if (this->isfluidlevellow() != 0) { + total_size += 1 + 1; + } + + // bool IsBrakesWorn = 4; + if (this->isbrakesworn() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2WheelRightBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2WheelRightBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2WheelRightBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2WheelRightBrake::MergeFrom(const VehicleChassisAxleRow2WheelRightBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.fluidlevel() != 0) { + _internal_set_fluidlevel(from._internal_fluidlevel()); + } + if (from.padwear() != 0) { + _internal_set_padwear(from._internal_padwear()); + } + if (from.isfluidlevellow() != 0) { + _internal_set_isfluidlevellow(from._internal_isfluidlevellow()); + } + if (from.isbrakesworn() != 0) { + _internal_set_isbrakesworn(from._internal_isbrakesworn()); + } +} + +void VehicleChassisAxleRow2WheelRightBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2WheelRightBrake::CopyFrom(const VehicleChassisAxleRow2WheelRightBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelRightBrake::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelRightBrake::InternalSwap(VehicleChassisAxleRow2WheelRightBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(fluidlevel_, other->fluidlevel_); + swap(padwear_, other->padwear_); + swap(isfluidlevellow_, other->isfluidlevellow_); + swap(isbrakesworn_, other->isbrakesworn_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelRightBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAxleRow2WheelRightTire::InitAsDefaultInstance() { +} +class VehicleChassisAxleRow2WheelRightTire::_Internal { + public: +}; + +VehicleChassisAxleRow2WheelRightTire::VehicleChassisAxleRow2WheelRightTire() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) +} +VehicleChassisAxleRow2WheelRightTire::VehicleChassisAxleRow2WheelRightTire(const VehicleChassisAxleRow2WheelRightTire& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&pressure_, &from.pressure_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) +} + +void VehicleChassisAxleRow2WheelRightTire::SharedCtor() { + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); +} + +VehicleChassisAxleRow2WheelRightTire::~VehicleChassisAxleRow2WheelRightTire() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + SharedDtor(); +} + +void VehicleChassisAxleRow2WheelRightTire::SharedDtor() { +} + +void VehicleChassisAxleRow2WheelRightTire::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAxleRow2WheelRightTire& VehicleChassisAxleRow2WheelRightTire::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAxleRow2WheelRightTire_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAxleRow2WheelRightTire::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&pressure_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature_) - + reinterpret_cast<char*>(&pressure_)) + sizeof(temperature_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAxleRow2WheelRightTire::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 Pressure = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pressure_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPressureLow = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ispressurelow_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float Temperature = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + temperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAxleRow2WheelRightTire::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pressure(), target); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_ispressurelow(), target); + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_temperature(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + return target; +} + +size_t VehicleChassisAxleRow2WheelRightTire::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 Pressure = 1; + if (this->pressure() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pressure()); + } + + // bool IsPressureLow = 2; + if (this->ispressurelow() != 0) { + total_size += 1 + 1; + } + + // float Temperature = 3; + if (!(this->temperature() <= 0 && this->temperature() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAxleRow2WheelRightTire::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAxleRow2WheelRightTire* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAxleRow2WheelRightTire>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + MergeFrom(*source); + } +} + +void VehicleChassisAxleRow2WheelRightTire::MergeFrom(const VehicleChassisAxleRow2WheelRightTire& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.pressure() != 0) { + _internal_set_pressure(from._internal_pressure()); + } + if (from.ispressurelow() != 0) { + _internal_set_ispressurelow(from._internal_ispressurelow()); + } + if (!(from.temperature() <= 0 && from.temperature() >= 0)) { + _internal_set_temperature(from._internal_temperature()); + } +} + +void VehicleChassisAxleRow2WheelRightTire::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAxleRow2WheelRightTire::CopyFrom(const VehicleChassisAxleRow2WheelRightTire& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAxleRow2WheelRightTire) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAxleRow2WheelRightTire::IsInitialized() const { + return true; +} + +void VehicleChassisAxleRow2WheelRightTire::InternalSwap(VehicleChassisAxleRow2WheelRightTire* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pressure_, other->pressure_); + swap(ispressurelow_, other->ispressurelow_); + swap(temperature_, other->temperature_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAxleRow2WheelRightTire::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisParkingBrake::InitAsDefaultInstance() { +} +class VehicleChassisParkingBrake::_Internal { + public: +}; + +VehicleChassisParkingBrake::VehicleChassisParkingBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisParkingBrake) +} +VehicleChassisParkingBrake::VehicleChassisParkingBrake(const VehicleChassisParkingBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isengaged_ = from.isengaged_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisParkingBrake) +} + +void VehicleChassisParkingBrake::SharedCtor() { + isengaged_ = false; +} + +VehicleChassisParkingBrake::~VehicleChassisParkingBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisParkingBrake) + SharedDtor(); +} + +void VehicleChassisParkingBrake::SharedDtor() { +} + +void VehicleChassisParkingBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisParkingBrake& VehicleChassisParkingBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisParkingBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisParkingBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisParkingBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isengaged_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisParkingBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsEngaged = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isengaged_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisParkingBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisParkingBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsEngaged = 1; + if (this->isengaged() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isengaged(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisParkingBrake) + return target; +} + +size_t VehicleChassisParkingBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisParkingBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsEngaged = 1; + if (this->isengaged() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisParkingBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisParkingBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisParkingBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisParkingBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisParkingBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisParkingBrake) + MergeFrom(*source); + } +} + +void VehicleChassisParkingBrake::MergeFrom(const VehicleChassisParkingBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisParkingBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isengaged() != 0) { + _internal_set_isengaged(from._internal_isengaged()); + } +} + +void VehicleChassisParkingBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisParkingBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisParkingBrake::CopyFrom(const VehicleChassisParkingBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisParkingBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisParkingBrake::IsInitialized() const { + return true; +} + +void VehicleChassisParkingBrake::InternalSwap(VehicleChassisParkingBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isengaged_, other->isengaged_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisParkingBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisSteeringWheel::InitAsDefaultInstance() { +} +class VehicleChassisSteeringWheel::_Internal { + public: +}; + +VehicleChassisSteeringWheel::VehicleChassisSteeringWheel() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisSteeringWheel) +} +VehicleChassisSteeringWheel::VehicleChassisSteeringWheel(const VehicleChassisSteeringWheel& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + position_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_position().empty()) { + position_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.position_); + } + ::memcpy(&angle_, &from.angle_, + static_cast<size_t>(reinterpret_cast<char*>(&extension_) - + reinterpret_cast<char*>(&angle_)) + sizeof(extension_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisSteeringWheel) +} + +void VehicleChassisSteeringWheel::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto.base); + position_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&angle_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&extension_) - + reinterpret_cast<char*>(&angle_)) + sizeof(extension_)); +} + +VehicleChassisSteeringWheel::~VehicleChassisSteeringWheel() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisSteeringWheel) + SharedDtor(); +} + +void VehicleChassisSteeringWheel::SharedDtor() { + position_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleChassisSteeringWheel::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisSteeringWheel& VehicleChassisSteeringWheel::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisSteeringWheel_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisSteeringWheel::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisSteeringWheel) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + position_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&angle_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&extension_) - + reinterpret_cast<char*>(&angle_)) + sizeof(extension_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisSteeringWheel::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int32 Angle = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + angle_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Tilt = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + tilt_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 Extension = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + extension_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Position = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_position(), ptr, ctx, "com.vehicle.messages.VehicleChassisSteeringWheel.Position"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisSteeringWheel::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisSteeringWheel) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int32 Angle = 1; + if (this->angle() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(1, this->_internal_angle(), target); + } + + // uint32 Tilt = 2; + if (this->tilt() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_tilt(), target); + } + + // uint32 Extension = 3; + if (this->extension() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(3, this->_internal_extension(), target); + } + + // string Position = 4; + if (this->position().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_position().data(), static_cast<int>(this->_internal_position().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleChassisSteeringWheel.Position"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_position(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisSteeringWheel) + return target; +} + +size_t VehicleChassisSteeringWheel::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisSteeringWheel) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Position = 4; + if (this->position().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_position()); + } + + // int32 Angle = 1; + if (this->angle() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_angle()); + } + + // uint32 Tilt = 2; + if (this->tilt() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_tilt()); + } + + // uint32 Extension = 3; + if (this->extension() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_extension()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisSteeringWheel::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisSteeringWheel) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisSteeringWheel* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisSteeringWheel>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisSteeringWheel) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisSteeringWheel) + MergeFrom(*source); + } +} + +void VehicleChassisSteeringWheel::MergeFrom(const VehicleChassisSteeringWheel& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisSteeringWheel) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.position().size() > 0) { + + position_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.position_); + } + if (from.angle() != 0) { + _internal_set_angle(from._internal_angle()); + } + if (from.tilt() != 0) { + _internal_set_tilt(from._internal_tilt()); + } + if (from.extension() != 0) { + _internal_set_extension(from._internal_extension()); + } +} + +void VehicleChassisSteeringWheel::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisSteeringWheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisSteeringWheel::CopyFrom(const VehicleChassisSteeringWheel& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisSteeringWheel) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisSteeringWheel::IsInitialized() const { + return true; +} + +void VehicleChassisSteeringWheel::InternalSwap(VehicleChassisSteeringWheel* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + position_.Swap(&other->position_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(angle_, other->angle_); + swap(tilt_, other->tilt_); + swap(extension_, other->extension_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisSteeringWheel::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisAccelerator::InitAsDefaultInstance() { +} +class VehicleChassisAccelerator::_Internal { + public: +}; + +VehicleChassisAccelerator::VehicleChassisAccelerator() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisAccelerator) +} +VehicleChassisAccelerator::VehicleChassisAccelerator(const VehicleChassisAccelerator& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + pedalposition_ = from.pedalposition_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisAccelerator) +} + +void VehicleChassisAccelerator::SharedCtor() { + pedalposition_ = 0u; +} + +VehicleChassisAccelerator::~VehicleChassisAccelerator() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisAccelerator) + SharedDtor(); +} + +void VehicleChassisAccelerator::SharedDtor() { +} + +void VehicleChassisAccelerator::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisAccelerator& VehicleChassisAccelerator::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisAccelerator_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisAccelerator::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisAccelerator) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + pedalposition_ = 0u; + _internal_metadata_.Clear(); +} + +const char* VehicleChassisAccelerator::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 PedalPosition = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pedalposition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisAccelerator::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisAccelerator) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->pedalposition() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pedalposition(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisAccelerator) + return target; +} + +size_t VehicleChassisAccelerator::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisAccelerator) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->pedalposition() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pedalposition()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisAccelerator::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisAccelerator) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisAccelerator* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisAccelerator>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisAccelerator) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisAccelerator) + MergeFrom(*source); + } +} + +void VehicleChassisAccelerator::MergeFrom(const VehicleChassisAccelerator& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisAccelerator) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.pedalposition() != 0) { + _internal_set_pedalposition(from._internal_pedalposition()); + } +} + +void VehicleChassisAccelerator::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisAccelerator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisAccelerator::CopyFrom(const VehicleChassisAccelerator& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisAccelerator) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisAccelerator::IsInitialized() const { + return true; +} + +void VehicleChassisAccelerator::InternalSwap(VehicleChassisAccelerator* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pedalposition_, other->pedalposition_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisAccelerator::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleChassisBrake::InitAsDefaultInstance() { +} +class VehicleChassisBrake::_Internal { + public: +}; + +VehicleChassisBrake::VehicleChassisBrake() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleChassisBrake) +} +VehicleChassisBrake::VehicleChassisBrake(const VehicleChassisBrake& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&pedalposition_, &from.pedalposition_, + static_cast<size_t>(reinterpret_cast<char*>(&isdriveremergencybrakingdetected_) - + reinterpret_cast<char*>(&pedalposition_)) + sizeof(isdriveremergencybrakingdetected_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleChassisBrake) +} + +void VehicleChassisBrake::SharedCtor() { + ::memset(&pedalposition_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdriveremergencybrakingdetected_) - + reinterpret_cast<char*>(&pedalposition_)) + sizeof(isdriveremergencybrakingdetected_)); +} + +VehicleChassisBrake::~VehicleChassisBrake() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleChassisBrake) + SharedDtor(); +} + +void VehicleChassisBrake::SharedDtor() { +} + +void VehicleChassisBrake::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleChassisBrake& VehicleChassisBrake::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleChassisBrake_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleChassisBrake::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleChassisBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&pedalposition_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&isdriveremergencybrakingdetected_) - + reinterpret_cast<char*>(&pedalposition_)) + sizeof(isdriveremergencybrakingdetected_)); + _internal_metadata_.Clear(); +} + +const char* VehicleChassisBrake::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 PedalPosition = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pedalposition_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsDriverEmergencyBrakingDetected = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + isdriveremergencybrakingdetected_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleChassisBrake::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleChassisBrake) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->pedalposition() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pedalposition(), target); + } + + // bool IsDriverEmergencyBrakingDetected = 2; + if (this->isdriveremergencybrakingdetected() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(2, this->_internal_isdriveremergencybrakingdetected(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleChassisBrake) + return target; +} + +size_t VehicleChassisBrake::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleChassisBrake) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // uint32 PedalPosition = 1; + if (this->pedalposition() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pedalposition()); + } + + // bool IsDriverEmergencyBrakingDetected = 2; + if (this->isdriveremergencybrakingdetected() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleChassisBrake::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleChassisBrake) + GOOGLE_DCHECK_NE(&from, this); + const VehicleChassisBrake* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleChassisBrake>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleChassisBrake) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleChassisBrake) + MergeFrom(*source); + } +} + +void VehicleChassisBrake::MergeFrom(const VehicleChassisBrake& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleChassisBrake) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.pedalposition() != 0) { + _internal_set_pedalposition(from._internal_pedalposition()); + } + if (from.isdriveremergencybrakingdetected() != 0) { + _internal_set_isdriveremergencybrakingdetected(from._internal_isdriveremergencybrakingdetected()); + } +} + +void VehicleChassisBrake::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleChassisBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleChassisBrake::CopyFrom(const VehicleChassisBrake& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleChassisBrake) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleChassisBrake::IsInitialized() const { + return true; +} + +void VehicleChassisBrake::InternalSwap(VehicleChassisBrake* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(pedalposition_, other->pedalposition_); + swap(isdriveremergencybrakingdetected_, other->isdriveremergencybrakingdetected_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleChassisBrake::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBD::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleOBD_default_instance_._instance.get_mutable()->status_ = const_cast< ::com::vehicle::messages::VehicleOBDStatus*>( + ::com::vehicle::messages::VehicleOBDStatus::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBD_default_instance_._instance.get_mutable()->o2_ = const_cast< ::com::vehicle::messages::VehicleOBDO2*>( + ::com::vehicle::messages::VehicleOBDO2::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBD_default_instance_._instance.get_mutable()->o2wr_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WR*>( + ::com::vehicle::messages::VehicleOBDO2WR::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBD_default_instance_._instance.get_mutable()->catalyst_ = const_cast< ::com::vehicle::messages::VehicleOBDCatalyst*>( + ::com::vehicle::messages::VehicleOBDCatalyst::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBD_default_instance_._instance.get_mutable()->drivecyclestatus_ = const_cast< ::com::vehicle::messages::VehicleOBDDriveCycleStatus*>( + ::com::vehicle::messages::VehicleOBDDriveCycleStatus::internal_default_instance()); +} +class VehicleOBD::_Internal { + public: + static const ::com::vehicle::messages::VehicleOBDStatus& status(const VehicleOBD* msg); + static const ::com::vehicle::messages::VehicleOBDO2& o2(const VehicleOBD* msg); + static const ::com::vehicle::messages::VehicleOBDO2WR& o2wr(const VehicleOBD* msg); + static const ::com::vehicle::messages::VehicleOBDCatalyst& catalyst(const VehicleOBD* msg); + static const ::com::vehicle::messages::VehicleOBDDriveCycleStatus& drivecyclestatus(const VehicleOBD* msg); +}; + +const ::com::vehicle::messages::VehicleOBDStatus& +VehicleOBD::_Internal::status(const VehicleOBD* msg) { + return *msg->status_; +} +const ::com::vehicle::messages::VehicleOBDO2& +VehicleOBD::_Internal::o2(const VehicleOBD* msg) { + return *msg->o2_; +} +const ::com::vehicle::messages::VehicleOBDO2WR& +VehicleOBD::_Internal::o2wr(const VehicleOBD* msg) { + return *msg->o2wr_; +} +const ::com::vehicle::messages::VehicleOBDCatalyst& +VehicleOBD::_Internal::catalyst(const VehicleOBD* msg) { + return *msg->catalyst_; +} +const ::com::vehicle::messages::VehicleOBDDriveCycleStatus& +VehicleOBD::_Internal::drivecyclestatus(const VehicleOBD* msg) { + return *msg->drivecyclestatus_; +} +VehicleOBD::VehicleOBD() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBD) +} +VehicleOBD::VehicleOBD(const VehicleOBD& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + dtclist_(from.dtclist_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + freezedtc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_freezedtc().empty()) { + freezedtc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.freezedtc_); + } + fuelstatus_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_fuelstatus().empty()) { + fuelstatus_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fuelstatus_); + } + airstatus_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_airstatus().empty()) { + airstatus_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airstatus_); + } + fueltype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_fueltype().empty()) { + fueltype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fueltype_); + } + if (from._internal_has_status()) { + status_ = new ::com::vehicle::messages::VehicleOBDStatus(*from.status_); + } else { + status_ = nullptr; + } + if (from._internal_has_o2()) { + o2_ = new ::com::vehicle::messages::VehicleOBDO2(*from.o2_); + } else { + o2_ = nullptr; + } + if (from._internal_has_o2wr()) { + o2wr_ = new ::com::vehicle::messages::VehicleOBDO2WR(*from.o2wr_); + } else { + o2wr_ = nullptr; + } + if (from._internal_has_catalyst()) { + catalyst_ = new ::com::vehicle::messages::VehicleOBDCatalyst(*from.catalyst_); + } else { + catalyst_ = nullptr; + } + if (from._internal_has_drivecyclestatus()) { + drivecyclestatus_ = new ::com::vehicle::messages::VehicleOBDDriveCycleStatus(*from.drivecyclestatus_); + } else { + drivecyclestatus_ = nullptr; + } + ::memcpy(&pidsa_, &from.pidsa_, + static_cast<size_t>(reinterpret_cast<char*>(&fuelrate_) - + reinterpret_cast<char*>(&pidsa_)) + sizeof(fuelrate_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBD) +} + +void VehicleOBD::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleOBD_V2C_2fvspec_2eproto.base); + freezedtc_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fuelstatus_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + airstatus_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fueltype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&status_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&fuelrate_) - + reinterpret_cast<char*>(&status_)) + sizeof(fuelrate_)); +} + +VehicleOBD::~VehicleOBD() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBD) + SharedDtor(); +} + +void VehicleOBD::SharedDtor() { + freezedtc_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fuelstatus_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + airstatus_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fueltype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (this != internal_default_instance()) delete status_; + if (this != internal_default_instance()) delete o2_; + if (this != internal_default_instance()) delete o2wr_; + if (this != internal_default_instance()) delete catalyst_; + if (this != internal_default_instance()) delete drivecyclestatus_; +} + +void VehicleOBD::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBD& VehicleOBD::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBD_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBD::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBD) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + dtclist_.Clear(); + freezedtc_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fuelstatus_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + airstatus_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + fueltype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; + if (GetArenaNoVirtual() == nullptr && o2_ != nullptr) { + delete o2_; + } + o2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && o2wr_ != nullptr) { + delete o2wr_; + } + o2wr_ = nullptr; + if (GetArenaNoVirtual() == nullptr && catalyst_ != nullptr) { + delete catalyst_; + } + catalyst_ = nullptr; + if (GetArenaNoVirtual() == nullptr && drivecyclestatus_ != nullptr) { + delete drivecyclestatus_; + } + drivecyclestatus_ = nullptr; + ::memset(&pidsa_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&fuelrate_) - + reinterpret_cast<char*>(&pidsa_)) + sizeof(fuelrate_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBD::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // uint32 PidsA = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + pidsa_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDStatus Status = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_status(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // repeated string DTCList = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_add_dtclist(), ptr, ctx, "com.vehicle.messages.VehicleOBD.DTCList"); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<26>(ptr)); + } else goto handle_unusual; + continue; + // string FreezeDTC = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_freezedtc(), ptr, ctx, "com.vehicle.messages.VehicleOBD.FreezeDTC"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string FuelStatus = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_fuelstatus(), ptr, ctx, "com.vehicle.messages.VehicleOBD.FuelStatus"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float EngineLoad = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { + engineload_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float CoolantTemperature = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 61)) { + coolanttemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim1 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + shorttermfueltrim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LongTermFuelTrim1 = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 77)) { + longtermfueltrim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim2 = 10; + case 10: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) { + shorttermfueltrim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LongTermFuelTrim2 = 11; + case 11: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 93)) { + longtermfueltrim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelPressure = 12; + case 12: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 101)) { + fuelpressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float MAP = 13; + case 13: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) { + map_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float EngineSpeed = 14; + case 14: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 117)) { + enginespeed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Speed = 15; + case 15: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 125)) { + speed_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TimingAdvance = 16; + case 16: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 133)) { + timingadvance_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float IntakeTemp = 17; + case 17: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 141)) { + intaketemp_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float MAF = 18; + case 18: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 149)) { + maf_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ThrottlePosition = 19; + case 19: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 157)) { + throttleposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // string AirStatus = 20; + case 20: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 162)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_airstatus(), ptr, ctx, "com.vehicle.messages.VehicleOBD.AirStatus"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 OxygenSensorsIn2Banks = 21; + case 21: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 168)) { + oxygensensorsin2banks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2 O2 = 22; + case 22: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 178)) { + ptr = ctx->ParseMessage(_internal_mutable_o2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 OBDStandards = 23; + case 23: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 184)) { + obdstandards_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 OxygenSensorsIn4Banks = 24; + case 24: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 192)) { + oxygensensorsin4banks_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // bool IsPTOActive = 25; + case 25: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 200)) { + isptoactive_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float RunTime = 26; + case 26: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 213)) { + runtime_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 PidsB = 27; + case 27: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 216)) { + pidsb_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float DistanceWithMIL = 28; + case 28: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 229)) { + distancewithmil_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelRailPressureVac = 29; + case 29: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 237)) { + fuelrailpressurevac_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelRailPressureDirect = 30; + case 30: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 245)) { + fuelrailpressuredirect_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WR O2WR = 31; + case 31: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 250)) { + ptr = ctx->ParseMessage(_internal_mutable_o2wr(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float CommandedEGR = 32; + case 32: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 5)) { + commandedegr_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float EGRError = 33; + case 33: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + egrerror_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float CommandedEVAP = 34; + case 34: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + commandedevap_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelLevel = 35; + case 35: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + fuellevel_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 WarmupsSinceDTCClear = 36; + case 36: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + warmupssincedtcclear_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float DistanceSinceDTCClear = 37; + case 37: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { + distancesincedtcclear_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float EVAPVaporPressure = 38; + case 38: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { + evapvaporpressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float BarometricPressure = 39; + case 39: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 61)) { + barometricpressure_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDCatalyst Catalyst = 40; + case 40: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_catalyst(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 PidsC = 41; + case 41: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72)) { + pidsc_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDDriveCycleStatus DriveCycleStatus = 42; + case 42: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 82)) { + ptr = ctx->ParseMessage(_internal_mutable_drivecyclestatus(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float ControlModuleVoltage = 43; + case 43: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 93)) { + controlmodulevoltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AbsoluteLoad = 44; + case 44: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 101)) { + absoluteload_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float CommandedEquivalenceRatio = 45; + case 45: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 109)) { + commandedequivalenceratio_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float RelativeThrottlePosition = 46; + case 46: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 117)) { + relativethrottleposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AmbientAirTemperature = 47; + case 47: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 125)) { + ambientairtemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ThrottlePositionB = 48; + case 48: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 133)) { + throttlepositionb_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ThrottlePositionC = 49; + case 49: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 141)) { + throttlepositionc_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AcceleratorPositionD = 50; + case 50: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 149)) { + acceleratorpositiond_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AcceleratorPositionE = 51; + case 51: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 157)) { + acceleratorpositione_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float AcceleratorPositionF = 52; + case 52: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 165)) { + acceleratorpositionf_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ThrottleActuator = 53; + case 53: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 173)) { + throttleactuator_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float RunTimeMIL = 54; + case 54: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 181)) { + runtimemil_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float TimeSinceDTCCleared = 55; + case 55: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 189)) { + timesincedtccleared_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float MaxMAF = 56; + case 56: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 197)) { + maxmaf_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // string FuelType = 57; + case 57: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 202)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_fueltype(), ptr, ctx, "com.vehicle.messages.VehicleOBD.FuelType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float EthanolPercent = 58; + case 58: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 213)) { + ethanolpercent_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float EVAPVaporPressureAbsolute = 59; + case 59: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 221)) { + evapvaporpressureabsolute_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float EVAPVaporPressureAlternate = 60; + case 60: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 229)) { + evapvaporpressurealternate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermO2Trim1 = 61; + case 61: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 237)) { + shorttermo2trim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermO2Trim3 = 62; + case 62: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 245)) { + shorttermo2trim3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LongTermO2Trim1 = 63; + case 63: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 253)) { + longtermo2trim1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LongTermO2Trim3 = 64; + case 64: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 5)) { + longtermo2trim3_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermO2Trim2 = 65; + case 65: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + shorttermo2trim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermO2Trim4 = 66; + case 66: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermo2trim4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LongTermO2Trim2 = 67; + case 67: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + longtermo2trim2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LongTermO2Trim4 = 68; + case 68: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + longtermo2trim4_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelRailPressureAbsolute = 69; + case 69: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { + fuelrailpressureabsolute_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float RelativeAcceleratorPosition = 70; + case 70: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 53)) { + relativeacceleratorposition_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float HybridBatteryRemaining = 71; + case 71: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 61)) { + hybridbatteryremaining_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float OilTemperature = 72; + case 72: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 69)) { + oiltemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelInjectionTiming = 73; + case 73: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 77)) { + fuelinjectiontiming_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FuelRate = 74; + case 74: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 85)) { + fuelrate_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBD::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBD) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // uint32 PidsA = 1; + if (this->pidsa() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(1, this->_internal_pidsa(), target); + } + + // .com.vehicle.messages.VehicleOBDStatus Status = 2; + if (this->has_status()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::status(this), target, stream); + } + + // repeated string DTCList = 3; + for (int i = 0, n = this->_internal_dtclist_size(); i < n; i++) { + const auto& s = this->_internal_dtclist(i); + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + s.data(), static_cast<int>(s.length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBD.DTCList"); + target = stream->WriteString(3, s, target); + } + + // string FreezeDTC = 4; + if (this->freezedtc().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_freezedtc().data(), static_cast<int>(this->_internal_freezedtc().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBD.FreezeDTC"); + target = stream->WriteStringMaybeAliased( + 4, this->_internal_freezedtc(), target); + } + + // string FuelStatus = 5; + if (this->fuelstatus().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fuelstatus().data(), static_cast<int>(this->_internal_fuelstatus().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBD.FuelStatus"); + target = stream->WriteStringMaybeAliased( + 5, this->_internal_fuelstatus(), target); + } + + // float EngineLoad = 6; + if (!(this->engineload() <= 0 && this->engineload() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(6, this->_internal_engineload(), target); + } + + // float CoolantTemperature = 7; + if (!(this->coolanttemperature() <= 0 && this->coolanttemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(7, this->_internal_coolanttemperature(), target); + } + + // float ShortTermFuelTrim1 = 8; + if (!(this->shorttermfueltrim1() <= 0 && this->shorttermfueltrim1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(8, this->_internal_shorttermfueltrim1(), target); + } + + // float LongTermFuelTrim1 = 9; + if (!(this->longtermfueltrim1() <= 0 && this->longtermfueltrim1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(9, this->_internal_longtermfueltrim1(), target); + } + + // float ShortTermFuelTrim2 = 10; + if (!(this->shorttermfueltrim2() <= 0 && this->shorttermfueltrim2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(10, this->_internal_shorttermfueltrim2(), target); + } + + // float LongTermFuelTrim2 = 11; + if (!(this->longtermfueltrim2() <= 0 && this->longtermfueltrim2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(11, this->_internal_longtermfueltrim2(), target); + } + + // float FuelPressure = 12; + if (!(this->fuelpressure() <= 0 && this->fuelpressure() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(12, this->_internal_fuelpressure(), target); + } + + // float MAP = 13; + if (!(this->map() <= 0 && this->map() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(13, this->_internal_map(), target); + } + + // float EngineSpeed = 14; + if (!(this->enginespeed() <= 0 && this->enginespeed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(14, this->_internal_enginespeed(), target); + } + + // float Speed = 15; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(15, this->_internal_speed(), target); + } + + // float TimingAdvance = 16; + if (!(this->timingadvance() <= 0 && this->timingadvance() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(16, this->_internal_timingadvance(), target); + } + + // float IntakeTemp = 17; + if (!(this->intaketemp() <= 0 && this->intaketemp() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(17, this->_internal_intaketemp(), target); + } + + // float MAF = 18; + if (!(this->maf() <= 0 && this->maf() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(18, this->_internal_maf(), target); + } + + // float ThrottlePosition = 19; + if (!(this->throttleposition() <= 0 && this->throttleposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(19, this->_internal_throttleposition(), target); + } + + // string AirStatus = 20; + if (this->airstatus().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_airstatus().data(), static_cast<int>(this->_internal_airstatus().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBD.AirStatus"); + target = stream->WriteStringMaybeAliased( + 20, this->_internal_airstatus(), target); + } + + // uint32 OxygenSensorsIn2Banks = 21; + if (this->oxygensensorsin2banks() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(21, this->_internal_oxygensensorsin2banks(), target); + } + + // .com.vehicle.messages.VehicleOBDO2 O2 = 22; + if (this->has_o2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 22, _Internal::o2(this), target, stream); + } + + // uint32 OBDStandards = 23; + if (this->obdstandards() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(23, this->_internal_obdstandards(), target); + } + + // uint32 OxygenSensorsIn4Banks = 24; + if (this->oxygensensorsin4banks() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(24, this->_internal_oxygensensorsin4banks(), target); + } + + // bool IsPTOActive = 25; + if (this->isptoactive() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(25, this->_internal_isptoactive(), target); + } + + // float RunTime = 26; + if (!(this->runtime() <= 0 && this->runtime() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(26, this->_internal_runtime(), target); + } + + // uint32 PidsB = 27; + if (this->pidsb() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(27, this->_internal_pidsb(), target); + } + + // float DistanceWithMIL = 28; + if (!(this->distancewithmil() <= 0 && this->distancewithmil() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(28, this->_internal_distancewithmil(), target); + } + + // float FuelRailPressureVac = 29; + if (!(this->fuelrailpressurevac() <= 0 && this->fuelrailpressurevac() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(29, this->_internal_fuelrailpressurevac(), target); + } + + // float FuelRailPressureDirect = 30; + if (!(this->fuelrailpressuredirect() <= 0 && this->fuelrailpressuredirect() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(30, this->_internal_fuelrailpressuredirect(), target); + } + + // .com.vehicle.messages.VehicleOBDO2WR O2WR = 31; + if (this->has_o2wr()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 31, _Internal::o2wr(this), target, stream); + } + + // float CommandedEGR = 32; + if (!(this->commandedegr() <= 0 && this->commandedegr() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(32, this->_internal_commandedegr(), target); + } + + // float EGRError = 33; + if (!(this->egrerror() <= 0 && this->egrerror() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(33, this->_internal_egrerror(), target); + } + + // float CommandedEVAP = 34; + if (!(this->commandedevap() <= 0 && this->commandedevap() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(34, this->_internal_commandedevap(), target); + } + + // float FuelLevel = 35; + if (!(this->fuellevel() <= 0 && this->fuellevel() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(35, this->_internal_fuellevel(), target); + } + + // uint32 WarmupsSinceDTCClear = 36; + if (this->warmupssincedtcclear() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(36, this->_internal_warmupssincedtcclear(), target); + } + + // float DistanceSinceDTCClear = 37; + if (!(this->distancesincedtcclear() <= 0 && this->distancesincedtcclear() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(37, this->_internal_distancesincedtcclear(), target); + } + + // float EVAPVaporPressure = 38; + if (!(this->evapvaporpressure() <= 0 && this->evapvaporpressure() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(38, this->_internal_evapvaporpressure(), target); + } + + // float BarometricPressure = 39; + if (!(this->barometricpressure() <= 0 && this->barometricpressure() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(39, this->_internal_barometricpressure(), target); + } + + // .com.vehicle.messages.VehicleOBDCatalyst Catalyst = 40; + if (this->has_catalyst()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 40, _Internal::catalyst(this), target, stream); + } + + // uint32 PidsC = 41; + if (this->pidsc() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(41, this->_internal_pidsc(), target); + } + + // .com.vehicle.messages.VehicleOBDDriveCycleStatus DriveCycleStatus = 42; + if (this->has_drivecyclestatus()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 42, _Internal::drivecyclestatus(this), target, stream); + } + + // float ControlModuleVoltage = 43; + if (!(this->controlmodulevoltage() <= 0 && this->controlmodulevoltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(43, this->_internal_controlmodulevoltage(), target); + } + + // float AbsoluteLoad = 44; + if (!(this->absoluteload() <= 0 && this->absoluteload() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(44, this->_internal_absoluteload(), target); + } + + // float CommandedEquivalenceRatio = 45; + if (!(this->commandedequivalenceratio() <= 0 && this->commandedequivalenceratio() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(45, this->_internal_commandedequivalenceratio(), target); + } + + // float RelativeThrottlePosition = 46; + if (!(this->relativethrottleposition() <= 0 && this->relativethrottleposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(46, this->_internal_relativethrottleposition(), target); + } + + // float AmbientAirTemperature = 47; + if (!(this->ambientairtemperature() <= 0 && this->ambientairtemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(47, this->_internal_ambientairtemperature(), target); + } + + // float ThrottlePositionB = 48; + if (!(this->throttlepositionb() <= 0 && this->throttlepositionb() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(48, this->_internal_throttlepositionb(), target); + } + + // float ThrottlePositionC = 49; + if (!(this->throttlepositionc() <= 0 && this->throttlepositionc() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(49, this->_internal_throttlepositionc(), target); + } + + // float AcceleratorPositionD = 50; + if (!(this->acceleratorpositiond() <= 0 && this->acceleratorpositiond() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(50, this->_internal_acceleratorpositiond(), target); + } + + // float AcceleratorPositionE = 51; + if (!(this->acceleratorpositione() <= 0 && this->acceleratorpositione() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(51, this->_internal_acceleratorpositione(), target); + } + + // float AcceleratorPositionF = 52; + if (!(this->acceleratorpositionf() <= 0 && this->acceleratorpositionf() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(52, this->_internal_acceleratorpositionf(), target); + } + + // float ThrottleActuator = 53; + if (!(this->throttleactuator() <= 0 && this->throttleactuator() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(53, this->_internal_throttleactuator(), target); + } + + // float RunTimeMIL = 54; + if (!(this->runtimemil() <= 0 && this->runtimemil() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(54, this->_internal_runtimemil(), target); + } + + // float TimeSinceDTCCleared = 55; + if (!(this->timesincedtccleared() <= 0 && this->timesincedtccleared() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(55, this->_internal_timesincedtccleared(), target); + } + + // float MaxMAF = 56; + if (!(this->maxmaf() <= 0 && this->maxmaf() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(56, this->_internal_maxmaf(), target); + } + + // string FuelType = 57; + if (this->fueltype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_fueltype().data(), static_cast<int>(this->_internal_fueltype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBD.FuelType"); + target = stream->WriteStringMaybeAliased( + 57, this->_internal_fueltype(), target); + } + + // float EthanolPercent = 58; + if (!(this->ethanolpercent() <= 0 && this->ethanolpercent() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(58, this->_internal_ethanolpercent(), target); + } + + // float EVAPVaporPressureAbsolute = 59; + if (!(this->evapvaporpressureabsolute() <= 0 && this->evapvaporpressureabsolute() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(59, this->_internal_evapvaporpressureabsolute(), target); + } + + // float EVAPVaporPressureAlternate = 60; + if (!(this->evapvaporpressurealternate() <= 0 && this->evapvaporpressurealternate() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(60, this->_internal_evapvaporpressurealternate(), target); + } + + // float ShortTermO2Trim1 = 61; + if (!(this->shorttermo2trim1() <= 0 && this->shorttermo2trim1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(61, this->_internal_shorttermo2trim1(), target); + } + + // float ShortTermO2Trim3 = 62; + if (!(this->shorttermo2trim3() <= 0 && this->shorttermo2trim3() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(62, this->_internal_shorttermo2trim3(), target); + } + + // float LongTermO2Trim1 = 63; + if (!(this->longtermo2trim1() <= 0 && this->longtermo2trim1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(63, this->_internal_longtermo2trim1(), target); + } + + // float LongTermO2Trim3 = 64; + if (!(this->longtermo2trim3() <= 0 && this->longtermo2trim3() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(64, this->_internal_longtermo2trim3(), target); + } + + // float ShortTermO2Trim2 = 65; + if (!(this->shorttermo2trim2() <= 0 && this->shorttermo2trim2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(65, this->_internal_shorttermo2trim2(), target); + } + + // float ShortTermO2Trim4 = 66; + if (!(this->shorttermo2trim4() <= 0 && this->shorttermo2trim4() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(66, this->_internal_shorttermo2trim4(), target); + } + + // float LongTermO2Trim2 = 67; + if (!(this->longtermo2trim2() <= 0 && this->longtermo2trim2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(67, this->_internal_longtermo2trim2(), target); + } + + // float LongTermO2Trim4 = 68; + if (!(this->longtermo2trim4() <= 0 && this->longtermo2trim4() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(68, this->_internal_longtermo2trim4(), target); + } + + // float FuelRailPressureAbsolute = 69; + if (!(this->fuelrailpressureabsolute() <= 0 && this->fuelrailpressureabsolute() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(69, this->_internal_fuelrailpressureabsolute(), target); + } + + // float RelativeAcceleratorPosition = 70; + if (!(this->relativeacceleratorposition() <= 0 && this->relativeacceleratorposition() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(70, this->_internal_relativeacceleratorposition(), target); + } + + // float HybridBatteryRemaining = 71; + if (!(this->hybridbatteryremaining() <= 0 && this->hybridbatteryremaining() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(71, this->_internal_hybridbatteryremaining(), target); + } + + // float OilTemperature = 72; + if (!(this->oiltemperature() <= 0 && this->oiltemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(72, this->_internal_oiltemperature(), target); + } + + // float FuelInjectionTiming = 73; + if (!(this->fuelinjectiontiming() <= 0 && this->fuelinjectiontiming() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(73, this->_internal_fuelinjectiontiming(), target); + } + + // float FuelRate = 74; + if (!(this->fuelrate() <= 0 && this->fuelrate() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(74, this->_internal_fuelrate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBD) + return target; +} + +size_t VehicleOBD::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBD) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated string DTCList = 3; + total_size += 1 * + ::PROTOBUF_NAMESPACE_ID::internal::FromIntSize(dtclist_.size()); + for (int i = 0, n = dtclist_.size(); i < n; i++) { + total_size += ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + dtclist_.Get(i)); + } + + // string FreezeDTC = 4; + if (this->freezedtc().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_freezedtc()); + } + + // string FuelStatus = 5; + if (this->fuelstatus().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fuelstatus()); + } + + // string AirStatus = 20; + if (this->airstatus().size() > 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_airstatus()); + } + + // string FuelType = 57; + if (this->fueltype().size() > 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_fueltype()); + } + + // .com.vehicle.messages.VehicleOBDStatus Status = 2; + if (this->has_status()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *status_); + } + + // .com.vehicle.messages.VehicleOBDO2 O2 = 22; + if (this->has_o2()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *o2_); + } + + // .com.vehicle.messages.VehicleOBDO2WR O2WR = 31; + if (this->has_o2wr()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *o2wr_); + } + + // .com.vehicle.messages.VehicleOBDCatalyst Catalyst = 40; + if (this->has_catalyst()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *catalyst_); + } + + // .com.vehicle.messages.VehicleOBDDriveCycleStatus DriveCycleStatus = 42; + if (this->has_drivecyclestatus()) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *drivecyclestatus_); + } + + // uint32 PidsA = 1; + if (this->pidsa() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pidsa()); + } + + // float EngineLoad = 6; + if (!(this->engineload() <= 0 && this->engineload() >= 0)) { + total_size += 1 + 4; + } + + // float CoolantTemperature = 7; + if (!(this->coolanttemperature() <= 0 && this->coolanttemperature() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim1 = 8; + if (!(this->shorttermfueltrim1() <= 0 && this->shorttermfueltrim1() >= 0)) { + total_size += 1 + 4; + } + + // float LongTermFuelTrim1 = 9; + if (!(this->longtermfueltrim1() <= 0 && this->longtermfueltrim1() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim2 = 10; + if (!(this->shorttermfueltrim2() <= 0 && this->shorttermfueltrim2() >= 0)) { + total_size += 1 + 4; + } + + // float LongTermFuelTrim2 = 11; + if (!(this->longtermfueltrim2() <= 0 && this->longtermfueltrim2() >= 0)) { + total_size += 1 + 4; + } + + // float FuelPressure = 12; + if (!(this->fuelpressure() <= 0 && this->fuelpressure() >= 0)) { + total_size += 1 + 4; + } + + // float MAP = 13; + if (!(this->map() <= 0 && this->map() >= 0)) { + total_size += 1 + 4; + } + + // float EngineSpeed = 14; + if (!(this->enginespeed() <= 0 && this->enginespeed() >= 0)) { + total_size += 1 + 4; + } + + // float Speed = 15; + if (!(this->speed() <= 0 && this->speed() >= 0)) { + total_size += 1 + 4; + } + + // float TimingAdvance = 16; + if (!(this->timingadvance() <= 0 && this->timingadvance() >= 0)) { + total_size += 2 + 4; + } + + // float IntakeTemp = 17; + if (!(this->intaketemp() <= 0 && this->intaketemp() >= 0)) { + total_size += 2 + 4; + } + + // float MAF = 18; + if (!(this->maf() <= 0 && this->maf() >= 0)) { + total_size += 2 + 4; + } + + // float ThrottlePosition = 19; + if (!(this->throttleposition() <= 0 && this->throttleposition() >= 0)) { + total_size += 2 + 4; + } + + // uint32 OxygenSensorsIn2Banks = 21; + if (this->oxygensensorsin2banks() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_oxygensensorsin2banks()); + } + + // uint32 OBDStandards = 23; + if (this->obdstandards() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_obdstandards()); + } + + // uint32 OxygenSensorsIn4Banks = 24; + if (this->oxygensensorsin4banks() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_oxygensensorsin4banks()); + } + + // bool IsPTOActive = 25; + if (this->isptoactive() != 0) { + total_size += 2 + 1; + } + + // float RunTime = 26; + if (!(this->runtime() <= 0 && this->runtime() >= 0)) { + total_size += 2 + 4; + } + + // uint32 PidsB = 27; + if (this->pidsb() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pidsb()); + } + + // float DistanceWithMIL = 28; + if (!(this->distancewithmil() <= 0 && this->distancewithmil() >= 0)) { + total_size += 2 + 4; + } + + // float FuelRailPressureVac = 29; + if (!(this->fuelrailpressurevac() <= 0 && this->fuelrailpressurevac() >= 0)) { + total_size += 2 + 4; + } + + // float FuelRailPressureDirect = 30; + if (!(this->fuelrailpressuredirect() <= 0 && this->fuelrailpressuredirect() >= 0)) { + total_size += 2 + 4; + } + + // float CommandedEGR = 32; + if (!(this->commandedegr() <= 0 && this->commandedegr() >= 0)) { + total_size += 2 + 4; + } + + // float EGRError = 33; + if (!(this->egrerror() <= 0 && this->egrerror() >= 0)) { + total_size += 2 + 4; + } + + // float CommandedEVAP = 34; + if (!(this->commandedevap() <= 0 && this->commandedevap() >= 0)) { + total_size += 2 + 4; + } + + // float FuelLevel = 35; + if (!(this->fuellevel() <= 0 && this->fuellevel() >= 0)) { + total_size += 2 + 4; + } + + // uint32 WarmupsSinceDTCClear = 36; + if (this->warmupssincedtcclear() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_warmupssincedtcclear()); + } + + // float DistanceSinceDTCClear = 37; + if (!(this->distancesincedtcclear() <= 0 && this->distancesincedtcclear() >= 0)) { + total_size += 2 + 4; + } + + // float EVAPVaporPressure = 38; + if (!(this->evapvaporpressure() <= 0 && this->evapvaporpressure() >= 0)) { + total_size += 2 + 4; + } + + // float BarometricPressure = 39; + if (!(this->barometricpressure() <= 0 && this->barometricpressure() >= 0)) { + total_size += 2 + 4; + } + + // uint32 PidsC = 41; + if (this->pidsc() != 0) { + total_size += 2 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_pidsc()); + } + + // float ControlModuleVoltage = 43; + if (!(this->controlmodulevoltage() <= 0 && this->controlmodulevoltage() >= 0)) { + total_size += 2 + 4; + } + + // float AbsoluteLoad = 44; + if (!(this->absoluteload() <= 0 && this->absoluteload() >= 0)) { + total_size += 2 + 4; + } + + // float CommandedEquivalenceRatio = 45; + if (!(this->commandedequivalenceratio() <= 0 && this->commandedequivalenceratio() >= 0)) { + total_size += 2 + 4; + } + + // float RelativeThrottlePosition = 46; + if (!(this->relativethrottleposition() <= 0 && this->relativethrottleposition() >= 0)) { + total_size += 2 + 4; + } + + // float AmbientAirTemperature = 47; + if (!(this->ambientairtemperature() <= 0 && this->ambientairtemperature() >= 0)) { + total_size += 2 + 4; + } + + // float ThrottlePositionB = 48; + if (!(this->throttlepositionb() <= 0 && this->throttlepositionb() >= 0)) { + total_size += 2 + 4; + } + + // float ThrottlePositionC = 49; + if (!(this->throttlepositionc() <= 0 && this->throttlepositionc() >= 0)) { + total_size += 2 + 4; + } + + // float AcceleratorPositionD = 50; + if (!(this->acceleratorpositiond() <= 0 && this->acceleratorpositiond() >= 0)) { + total_size += 2 + 4; + } + + // float AcceleratorPositionE = 51; + if (!(this->acceleratorpositione() <= 0 && this->acceleratorpositione() >= 0)) { + total_size += 2 + 4; + } + + // float AcceleratorPositionF = 52; + if (!(this->acceleratorpositionf() <= 0 && this->acceleratorpositionf() >= 0)) { + total_size += 2 + 4; + } + + // float ThrottleActuator = 53; + if (!(this->throttleactuator() <= 0 && this->throttleactuator() >= 0)) { + total_size += 2 + 4; + } + + // float RunTimeMIL = 54; + if (!(this->runtimemil() <= 0 && this->runtimemil() >= 0)) { + total_size += 2 + 4; + } + + // float TimeSinceDTCCleared = 55; + if (!(this->timesincedtccleared() <= 0 && this->timesincedtccleared() >= 0)) { + total_size += 2 + 4; + } + + // float MaxMAF = 56; + if (!(this->maxmaf() <= 0 && this->maxmaf() >= 0)) { + total_size += 2 + 4; + } + + // float EthanolPercent = 58; + if (!(this->ethanolpercent() <= 0 && this->ethanolpercent() >= 0)) { + total_size += 2 + 4; + } + + // float EVAPVaporPressureAbsolute = 59; + if (!(this->evapvaporpressureabsolute() <= 0 && this->evapvaporpressureabsolute() >= 0)) { + total_size += 2 + 4; + } + + // float EVAPVaporPressureAlternate = 60; + if (!(this->evapvaporpressurealternate() <= 0 && this->evapvaporpressurealternate() >= 0)) { + total_size += 2 + 4; + } + + // float ShortTermO2Trim1 = 61; + if (!(this->shorttermo2trim1() <= 0 && this->shorttermo2trim1() >= 0)) { + total_size += 2 + 4; + } + + // float ShortTermO2Trim3 = 62; + if (!(this->shorttermo2trim3() <= 0 && this->shorttermo2trim3() >= 0)) { + total_size += 2 + 4; + } + + // float LongTermO2Trim1 = 63; + if (!(this->longtermo2trim1() <= 0 && this->longtermo2trim1() >= 0)) { + total_size += 2 + 4; + } + + // float LongTermO2Trim3 = 64; + if (!(this->longtermo2trim3() <= 0 && this->longtermo2trim3() >= 0)) { + total_size += 2 + 4; + } + + // float ShortTermO2Trim2 = 65; + if (!(this->shorttermo2trim2() <= 0 && this->shorttermo2trim2() >= 0)) { + total_size += 2 + 4; + } + + // float ShortTermO2Trim4 = 66; + if (!(this->shorttermo2trim4() <= 0 && this->shorttermo2trim4() >= 0)) { + total_size += 2 + 4; + } + + // float LongTermO2Trim2 = 67; + if (!(this->longtermo2trim2() <= 0 && this->longtermo2trim2() >= 0)) { + total_size += 2 + 4; + } + + // float LongTermO2Trim4 = 68; + if (!(this->longtermo2trim4() <= 0 && this->longtermo2trim4() >= 0)) { + total_size += 2 + 4; + } + + // float FuelRailPressureAbsolute = 69; + if (!(this->fuelrailpressureabsolute() <= 0 && this->fuelrailpressureabsolute() >= 0)) { + total_size += 2 + 4; + } + + // float RelativeAcceleratorPosition = 70; + if (!(this->relativeacceleratorposition() <= 0 && this->relativeacceleratorposition() >= 0)) { + total_size += 2 + 4; + } + + // float HybridBatteryRemaining = 71; + if (!(this->hybridbatteryremaining() <= 0 && this->hybridbatteryremaining() >= 0)) { + total_size += 2 + 4; + } + + // float OilTemperature = 72; + if (!(this->oiltemperature() <= 0 && this->oiltemperature() >= 0)) { + total_size += 2 + 4; + } + + // float FuelInjectionTiming = 73; + if (!(this->fuelinjectiontiming() <= 0 && this->fuelinjectiontiming() >= 0)) { + total_size += 2 + 4; + } + + // float FuelRate = 74; + if (!(this->fuelrate() <= 0 && this->fuelrate() >= 0)) { + total_size += 2 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBD::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBD) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBD* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBD>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBD) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBD) + MergeFrom(*source); + } +} + +void VehicleOBD::MergeFrom(const VehicleOBD& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBD) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + dtclist_.MergeFrom(from.dtclist_); + if (from.freezedtc().size() > 0) { + + freezedtc_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.freezedtc_); + } + if (from.fuelstatus().size() > 0) { + + fuelstatus_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fuelstatus_); + } + if (from.airstatus().size() > 0) { + + airstatus_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.airstatus_); + } + if (from.fueltype().size() > 0) { + + fueltype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.fueltype_); + } + if (from.has_status()) { + _internal_mutable_status()->::com::vehicle::messages::VehicleOBDStatus::MergeFrom(from._internal_status()); + } + if (from.has_o2()) { + _internal_mutable_o2()->::com::vehicle::messages::VehicleOBDO2::MergeFrom(from._internal_o2()); + } + if (from.has_o2wr()) { + _internal_mutable_o2wr()->::com::vehicle::messages::VehicleOBDO2WR::MergeFrom(from._internal_o2wr()); + } + if (from.has_catalyst()) { + _internal_mutable_catalyst()->::com::vehicle::messages::VehicleOBDCatalyst::MergeFrom(from._internal_catalyst()); + } + if (from.has_drivecyclestatus()) { + _internal_mutable_drivecyclestatus()->::com::vehicle::messages::VehicleOBDDriveCycleStatus::MergeFrom(from._internal_drivecyclestatus()); + } + if (from.pidsa() != 0) { + _internal_set_pidsa(from._internal_pidsa()); + } + if (!(from.engineload() <= 0 && from.engineload() >= 0)) { + _internal_set_engineload(from._internal_engineload()); + } + if (!(from.coolanttemperature() <= 0 && from.coolanttemperature() >= 0)) { + _internal_set_coolanttemperature(from._internal_coolanttemperature()); + } + if (!(from.shorttermfueltrim1() <= 0 && from.shorttermfueltrim1() >= 0)) { + _internal_set_shorttermfueltrim1(from._internal_shorttermfueltrim1()); + } + if (!(from.longtermfueltrim1() <= 0 && from.longtermfueltrim1() >= 0)) { + _internal_set_longtermfueltrim1(from._internal_longtermfueltrim1()); + } + if (!(from.shorttermfueltrim2() <= 0 && from.shorttermfueltrim2() >= 0)) { + _internal_set_shorttermfueltrim2(from._internal_shorttermfueltrim2()); + } + if (!(from.longtermfueltrim2() <= 0 && from.longtermfueltrim2() >= 0)) { + _internal_set_longtermfueltrim2(from._internal_longtermfueltrim2()); + } + if (!(from.fuelpressure() <= 0 && from.fuelpressure() >= 0)) { + _internal_set_fuelpressure(from._internal_fuelpressure()); + } + if (!(from.map() <= 0 && from.map() >= 0)) { + _internal_set_map(from._internal_map()); + } + if (!(from.enginespeed() <= 0 && from.enginespeed() >= 0)) { + _internal_set_enginespeed(from._internal_enginespeed()); + } + if (!(from.speed() <= 0 && from.speed() >= 0)) { + _internal_set_speed(from._internal_speed()); + } + if (!(from.timingadvance() <= 0 && from.timingadvance() >= 0)) { + _internal_set_timingadvance(from._internal_timingadvance()); + } + if (!(from.intaketemp() <= 0 && from.intaketemp() >= 0)) { + _internal_set_intaketemp(from._internal_intaketemp()); + } + if (!(from.maf() <= 0 && from.maf() >= 0)) { + _internal_set_maf(from._internal_maf()); + } + if (!(from.throttleposition() <= 0 && from.throttleposition() >= 0)) { + _internal_set_throttleposition(from._internal_throttleposition()); + } + if (from.oxygensensorsin2banks() != 0) { + _internal_set_oxygensensorsin2banks(from._internal_oxygensensorsin2banks()); + } + if (from.obdstandards() != 0) { + _internal_set_obdstandards(from._internal_obdstandards()); + } + if (from.oxygensensorsin4banks() != 0) { + _internal_set_oxygensensorsin4banks(from._internal_oxygensensorsin4banks()); + } + if (from.isptoactive() != 0) { + _internal_set_isptoactive(from._internal_isptoactive()); + } + if (!(from.runtime() <= 0 && from.runtime() >= 0)) { + _internal_set_runtime(from._internal_runtime()); + } + if (from.pidsb() != 0) { + _internal_set_pidsb(from._internal_pidsb()); + } + if (!(from.distancewithmil() <= 0 && from.distancewithmil() >= 0)) { + _internal_set_distancewithmil(from._internal_distancewithmil()); + } + if (!(from.fuelrailpressurevac() <= 0 && from.fuelrailpressurevac() >= 0)) { + _internal_set_fuelrailpressurevac(from._internal_fuelrailpressurevac()); + } + if (!(from.fuelrailpressuredirect() <= 0 && from.fuelrailpressuredirect() >= 0)) { + _internal_set_fuelrailpressuredirect(from._internal_fuelrailpressuredirect()); + } + if (!(from.commandedegr() <= 0 && from.commandedegr() >= 0)) { + _internal_set_commandedegr(from._internal_commandedegr()); + } + if (!(from.egrerror() <= 0 && from.egrerror() >= 0)) { + _internal_set_egrerror(from._internal_egrerror()); + } + if (!(from.commandedevap() <= 0 && from.commandedevap() >= 0)) { + _internal_set_commandedevap(from._internal_commandedevap()); + } + if (!(from.fuellevel() <= 0 && from.fuellevel() >= 0)) { + _internal_set_fuellevel(from._internal_fuellevel()); + } + if (from.warmupssincedtcclear() != 0) { + _internal_set_warmupssincedtcclear(from._internal_warmupssincedtcclear()); + } + if (!(from.distancesincedtcclear() <= 0 && from.distancesincedtcclear() >= 0)) { + _internal_set_distancesincedtcclear(from._internal_distancesincedtcclear()); + } + if (!(from.evapvaporpressure() <= 0 && from.evapvaporpressure() >= 0)) { + _internal_set_evapvaporpressure(from._internal_evapvaporpressure()); + } + if (!(from.barometricpressure() <= 0 && from.barometricpressure() >= 0)) { + _internal_set_barometricpressure(from._internal_barometricpressure()); + } + if (from.pidsc() != 0) { + _internal_set_pidsc(from._internal_pidsc()); + } + if (!(from.controlmodulevoltage() <= 0 && from.controlmodulevoltage() >= 0)) { + _internal_set_controlmodulevoltage(from._internal_controlmodulevoltage()); + } + if (!(from.absoluteload() <= 0 && from.absoluteload() >= 0)) { + _internal_set_absoluteload(from._internal_absoluteload()); + } + if (!(from.commandedequivalenceratio() <= 0 && from.commandedequivalenceratio() >= 0)) { + _internal_set_commandedequivalenceratio(from._internal_commandedequivalenceratio()); + } + if (!(from.relativethrottleposition() <= 0 && from.relativethrottleposition() >= 0)) { + _internal_set_relativethrottleposition(from._internal_relativethrottleposition()); + } + if (!(from.ambientairtemperature() <= 0 && from.ambientairtemperature() >= 0)) { + _internal_set_ambientairtemperature(from._internal_ambientairtemperature()); + } + if (!(from.throttlepositionb() <= 0 && from.throttlepositionb() >= 0)) { + _internal_set_throttlepositionb(from._internal_throttlepositionb()); + } + if (!(from.throttlepositionc() <= 0 && from.throttlepositionc() >= 0)) { + _internal_set_throttlepositionc(from._internal_throttlepositionc()); + } + if (!(from.acceleratorpositiond() <= 0 && from.acceleratorpositiond() >= 0)) { + _internal_set_acceleratorpositiond(from._internal_acceleratorpositiond()); + } + if (!(from.acceleratorpositione() <= 0 && from.acceleratorpositione() >= 0)) { + _internal_set_acceleratorpositione(from._internal_acceleratorpositione()); + } + if (!(from.acceleratorpositionf() <= 0 && from.acceleratorpositionf() >= 0)) { + _internal_set_acceleratorpositionf(from._internal_acceleratorpositionf()); + } + if (!(from.throttleactuator() <= 0 && from.throttleactuator() >= 0)) { + _internal_set_throttleactuator(from._internal_throttleactuator()); + } + if (!(from.runtimemil() <= 0 && from.runtimemil() >= 0)) { + _internal_set_runtimemil(from._internal_runtimemil()); + } + if (!(from.timesincedtccleared() <= 0 && from.timesincedtccleared() >= 0)) { + _internal_set_timesincedtccleared(from._internal_timesincedtccleared()); + } + if (!(from.maxmaf() <= 0 && from.maxmaf() >= 0)) { + _internal_set_maxmaf(from._internal_maxmaf()); + } + if (!(from.ethanolpercent() <= 0 && from.ethanolpercent() >= 0)) { + _internal_set_ethanolpercent(from._internal_ethanolpercent()); + } + if (!(from.evapvaporpressureabsolute() <= 0 && from.evapvaporpressureabsolute() >= 0)) { + _internal_set_evapvaporpressureabsolute(from._internal_evapvaporpressureabsolute()); + } + if (!(from.evapvaporpressurealternate() <= 0 && from.evapvaporpressurealternate() >= 0)) { + _internal_set_evapvaporpressurealternate(from._internal_evapvaporpressurealternate()); + } + if (!(from.shorttermo2trim1() <= 0 && from.shorttermo2trim1() >= 0)) { + _internal_set_shorttermo2trim1(from._internal_shorttermo2trim1()); + } + if (!(from.shorttermo2trim3() <= 0 && from.shorttermo2trim3() >= 0)) { + _internal_set_shorttermo2trim3(from._internal_shorttermo2trim3()); + } + if (!(from.longtermo2trim1() <= 0 && from.longtermo2trim1() >= 0)) { + _internal_set_longtermo2trim1(from._internal_longtermo2trim1()); + } + if (!(from.longtermo2trim3() <= 0 && from.longtermo2trim3() >= 0)) { + _internal_set_longtermo2trim3(from._internal_longtermo2trim3()); + } + if (!(from.shorttermo2trim2() <= 0 && from.shorttermo2trim2() >= 0)) { + _internal_set_shorttermo2trim2(from._internal_shorttermo2trim2()); + } + if (!(from.shorttermo2trim4() <= 0 && from.shorttermo2trim4() >= 0)) { + _internal_set_shorttermo2trim4(from._internal_shorttermo2trim4()); + } + if (!(from.longtermo2trim2() <= 0 && from.longtermo2trim2() >= 0)) { + _internal_set_longtermo2trim2(from._internal_longtermo2trim2()); + } + if (!(from.longtermo2trim4() <= 0 && from.longtermo2trim4() >= 0)) { + _internal_set_longtermo2trim4(from._internal_longtermo2trim4()); + } + if (!(from.fuelrailpressureabsolute() <= 0 && from.fuelrailpressureabsolute() >= 0)) { + _internal_set_fuelrailpressureabsolute(from._internal_fuelrailpressureabsolute()); + } + if (!(from.relativeacceleratorposition() <= 0 && from.relativeacceleratorposition() >= 0)) { + _internal_set_relativeacceleratorposition(from._internal_relativeacceleratorposition()); + } + if (!(from.hybridbatteryremaining() <= 0 && from.hybridbatteryremaining() >= 0)) { + _internal_set_hybridbatteryremaining(from._internal_hybridbatteryremaining()); + } + if (!(from.oiltemperature() <= 0 && from.oiltemperature() >= 0)) { + _internal_set_oiltemperature(from._internal_oiltemperature()); + } + if (!(from.fuelinjectiontiming() <= 0 && from.fuelinjectiontiming() >= 0)) { + _internal_set_fuelinjectiontiming(from._internal_fuelinjectiontiming()); + } + if (!(from.fuelrate() <= 0 && from.fuelrate() >= 0)) { + _internal_set_fuelrate(from._internal_fuelrate()); + } +} + +void VehicleOBD::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBD) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBD::CopyFrom(const VehicleOBD& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBD) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBD::IsInitialized() const { + return true; +} + +void VehicleOBD::InternalSwap(VehicleOBD* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + dtclist_.InternalSwap(&other->dtclist_); + freezedtc_.Swap(&other->freezedtc_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + fuelstatus_.Swap(&other->fuelstatus_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + airstatus_.Swap(&other->airstatus_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + fueltype_.Swap(&other->fueltype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(status_, other->status_); + swap(o2_, other->o2_); + swap(o2wr_, other->o2wr_); + swap(catalyst_, other->catalyst_); + swap(drivecyclestatus_, other->drivecyclestatus_); + swap(pidsa_, other->pidsa_); + swap(engineload_, other->engineload_); + swap(coolanttemperature_, other->coolanttemperature_); + swap(shorttermfueltrim1_, other->shorttermfueltrim1_); + swap(longtermfueltrim1_, other->longtermfueltrim1_); + swap(shorttermfueltrim2_, other->shorttermfueltrim2_); + swap(longtermfueltrim2_, other->longtermfueltrim2_); + swap(fuelpressure_, other->fuelpressure_); + swap(map_, other->map_); + swap(enginespeed_, other->enginespeed_); + swap(speed_, other->speed_); + swap(timingadvance_, other->timingadvance_); + swap(intaketemp_, other->intaketemp_); + swap(maf_, other->maf_); + swap(throttleposition_, other->throttleposition_); + swap(oxygensensorsin2banks_, other->oxygensensorsin2banks_); + swap(obdstandards_, other->obdstandards_); + swap(oxygensensorsin4banks_, other->oxygensensorsin4banks_); + swap(isptoactive_, other->isptoactive_); + swap(runtime_, other->runtime_); + swap(pidsb_, other->pidsb_); + swap(distancewithmil_, other->distancewithmil_); + swap(fuelrailpressurevac_, other->fuelrailpressurevac_); + swap(fuelrailpressuredirect_, other->fuelrailpressuredirect_); + swap(commandedegr_, other->commandedegr_); + swap(egrerror_, other->egrerror_); + swap(commandedevap_, other->commandedevap_); + swap(fuellevel_, other->fuellevel_); + swap(warmupssincedtcclear_, other->warmupssincedtcclear_); + swap(distancesincedtcclear_, other->distancesincedtcclear_); + swap(evapvaporpressure_, other->evapvaporpressure_); + swap(barometricpressure_, other->barometricpressure_); + swap(pidsc_, other->pidsc_); + swap(controlmodulevoltage_, other->controlmodulevoltage_); + swap(absoluteload_, other->absoluteload_); + swap(commandedequivalenceratio_, other->commandedequivalenceratio_); + swap(relativethrottleposition_, other->relativethrottleposition_); + swap(ambientairtemperature_, other->ambientairtemperature_); + swap(throttlepositionb_, other->throttlepositionb_); + swap(throttlepositionc_, other->throttlepositionc_); + swap(acceleratorpositiond_, other->acceleratorpositiond_); + swap(acceleratorpositione_, other->acceleratorpositione_); + swap(acceleratorpositionf_, other->acceleratorpositionf_); + swap(throttleactuator_, other->throttleactuator_); + swap(runtimemil_, other->runtimemil_); + swap(timesincedtccleared_, other->timesincedtccleared_); + swap(maxmaf_, other->maxmaf_); + swap(ethanolpercent_, other->ethanolpercent_); + swap(evapvaporpressureabsolute_, other->evapvaporpressureabsolute_); + swap(evapvaporpressurealternate_, other->evapvaporpressurealternate_); + swap(shorttermo2trim1_, other->shorttermo2trim1_); + swap(shorttermo2trim3_, other->shorttermo2trim3_); + swap(longtermo2trim1_, other->longtermo2trim1_); + swap(longtermo2trim3_, other->longtermo2trim3_); + swap(shorttermo2trim2_, other->shorttermo2trim2_); + swap(shorttermo2trim4_, other->shorttermo2trim4_); + swap(longtermo2trim2_, other->longtermo2trim2_); + swap(longtermo2trim4_, other->longtermo2trim4_); + swap(fuelrailpressureabsolute_, other->fuelrailpressureabsolute_); + swap(relativeacceleratorposition_, other->relativeacceleratorposition_); + swap(hybridbatteryremaining_, other->hybridbatteryremaining_); + swap(oiltemperature_, other->oiltemperature_); + swap(fuelinjectiontiming_, other->fuelinjectiontiming_); + swap(fuelrate_, other->fuelrate_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBD::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDStatus::InitAsDefaultInstance() { +} +class VehicleOBDStatus::_Internal { + public: +}; + +VehicleOBDStatus::VehicleOBDStatus() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDStatus) +} +VehicleOBDStatus::VehicleOBDStatus(const VehicleOBDStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ignitiontype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_ignitiontype().empty()) { + ignitiontype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.ignitiontype_); + } + ::memcpy(&ismilon_, &from.ismilon_, + static_cast<size_t>(reinterpret_cast<char*>(&dtccount_) - + reinterpret_cast<char*>(&ismilon_)) + sizeof(dtccount_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDStatus) +} + +void VehicleOBDStatus::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleOBDStatus_V2C_2fvspec_2eproto.base); + ignitiontype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&ismilon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&dtccount_) - + reinterpret_cast<char*>(&ismilon_)) + sizeof(dtccount_)); +} + +VehicleOBDStatus::~VehicleOBDStatus() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDStatus) + SharedDtor(); +} + +void VehicleOBDStatus::SharedDtor() { + ignitiontype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleOBDStatus::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDStatus& VehicleOBDStatus::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDStatus_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDStatus) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ignitiontype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&ismilon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&dtccount_) - + reinterpret_cast<char*>(&ismilon_)) + sizeof(dtccount_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDStatus::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMILOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismilon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 DTCCount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + dtccount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string IgnitionType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_ignitiontype(), ptr, ctx, "com.vehicle.messages.VehicleOBDStatus.IgnitionType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDStatus::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDStatus) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMILOn = 1; + if (this->ismilon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismilon(), target); + } + + // uint32 DTCCount = 2; + if (this->dtccount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dtccount(), target); + } + + // string IgnitionType = 3; + if (this->ignitiontype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_ignitiontype().data(), static_cast<int>(this->_internal_ignitiontype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBDStatus.IgnitionType"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_ignitiontype(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDStatus) + return target; +} + +size_t VehicleOBDStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDStatus) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string IgnitionType = 3; + if (this->ignitiontype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ignitiontype()); + } + + // bool IsMILOn = 1; + if (this->ismilon() != 0) { + total_size += 1 + 1; + } + + // uint32 DTCCount = 2; + if (this->dtccount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_dtccount()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDStatus::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDStatus) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDStatus* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDStatus>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDStatus) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDStatus) + MergeFrom(*source); + } +} + +void VehicleOBDStatus::MergeFrom(const VehicleOBDStatus& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDStatus) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ignitiontype().size() > 0) { + + ignitiontype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.ignitiontype_); + } + if (from.ismilon() != 0) { + _internal_set_ismilon(from._internal_ismilon()); + } + if (from.dtccount() != 0) { + _internal_set_dtccount(from._internal_dtccount()); + } +} + +void VehicleOBDStatus::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDStatus::CopyFrom(const VehicleOBDStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDStatus::IsInitialized() const { + return true; +} + +void VehicleOBDStatus::InternalSwap(VehicleOBDStatus* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + ignitiontype_.Swap(&other->ignitiontype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(ismilon_, other->ismilon_); + swap(dtccount_, other->dtccount_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDStatus::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor1_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor1*>( + ::com::vehicle::messages::VehicleOBDO2Sensor1::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor2_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor2*>( + ::com::vehicle::messages::VehicleOBDO2Sensor2::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor3_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor3*>( + ::com::vehicle::messages::VehicleOBDO2Sensor3::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor4_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor4*>( + ::com::vehicle::messages::VehicleOBDO2Sensor4::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor5_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor5*>( + ::com::vehicle::messages::VehicleOBDO2Sensor5::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor6_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor6*>( + ::com::vehicle::messages::VehicleOBDO2Sensor6::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor7_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor7*>( + ::com::vehicle::messages::VehicleOBDO2Sensor7::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2_default_instance_._instance.get_mutable()->sensor8_ = const_cast< ::com::vehicle::messages::VehicleOBDO2Sensor8*>( + ::com::vehicle::messages::VehicleOBDO2Sensor8::internal_default_instance()); +} +class VehicleOBDO2::_Internal { + public: + static const ::com::vehicle::messages::VehicleOBDO2Sensor1& sensor1(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor2& sensor2(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor3& sensor3(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor4& sensor4(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor5& sensor5(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor6& sensor6(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor7& sensor7(const VehicleOBDO2* msg); + static const ::com::vehicle::messages::VehicleOBDO2Sensor8& sensor8(const VehicleOBDO2* msg); +}; + +const ::com::vehicle::messages::VehicleOBDO2Sensor1& +VehicleOBDO2::_Internal::sensor1(const VehicleOBDO2* msg) { + return *msg->sensor1_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor2& +VehicleOBDO2::_Internal::sensor2(const VehicleOBDO2* msg) { + return *msg->sensor2_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor3& +VehicleOBDO2::_Internal::sensor3(const VehicleOBDO2* msg) { + return *msg->sensor3_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor4& +VehicleOBDO2::_Internal::sensor4(const VehicleOBDO2* msg) { + return *msg->sensor4_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor5& +VehicleOBDO2::_Internal::sensor5(const VehicleOBDO2* msg) { + return *msg->sensor5_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor6& +VehicleOBDO2::_Internal::sensor6(const VehicleOBDO2* msg) { + return *msg->sensor6_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor7& +VehicleOBDO2::_Internal::sensor7(const VehicleOBDO2* msg) { + return *msg->sensor7_; +} +const ::com::vehicle::messages::VehicleOBDO2Sensor8& +VehicleOBDO2::_Internal::sensor8(const VehicleOBDO2* msg) { + return *msg->sensor8_; +} +VehicleOBDO2::VehicleOBDO2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2) +} +VehicleOBDO2::VehicleOBDO2(const VehicleOBDO2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_sensor1()) { + sensor1_ = new ::com::vehicle::messages::VehicleOBDO2Sensor1(*from.sensor1_); + } else { + sensor1_ = nullptr; + } + if (from._internal_has_sensor2()) { + sensor2_ = new ::com::vehicle::messages::VehicleOBDO2Sensor2(*from.sensor2_); + } else { + sensor2_ = nullptr; + } + if (from._internal_has_sensor3()) { + sensor3_ = new ::com::vehicle::messages::VehicleOBDO2Sensor3(*from.sensor3_); + } else { + sensor3_ = nullptr; + } + if (from._internal_has_sensor4()) { + sensor4_ = new ::com::vehicle::messages::VehicleOBDO2Sensor4(*from.sensor4_); + } else { + sensor4_ = nullptr; + } + if (from._internal_has_sensor5()) { + sensor5_ = new ::com::vehicle::messages::VehicleOBDO2Sensor5(*from.sensor5_); + } else { + sensor5_ = nullptr; + } + if (from._internal_has_sensor6()) { + sensor6_ = new ::com::vehicle::messages::VehicleOBDO2Sensor6(*from.sensor6_); + } else { + sensor6_ = nullptr; + } + if (from._internal_has_sensor7()) { + sensor7_ = new ::com::vehicle::messages::VehicleOBDO2Sensor7(*from.sensor7_); + } else { + sensor7_ = nullptr; + } + if (from._internal_has_sensor8()) { + sensor8_ = new ::com::vehicle::messages::VehicleOBDO2Sensor8(*from.sensor8_); + } else { + sensor8_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2) +} + +void VehicleOBDO2::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleOBDO2_V2C_2fvspec_2eproto.base); + ::memset(&sensor1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&sensor8_) - + reinterpret_cast<char*>(&sensor1_)) + sizeof(sensor8_)); +} + +VehicleOBDO2::~VehicleOBDO2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2) + SharedDtor(); +} + +void VehicleOBDO2::SharedDtor() { + if (this != internal_default_instance()) delete sensor1_; + if (this != internal_default_instance()) delete sensor2_; + if (this != internal_default_instance()) delete sensor3_; + if (this != internal_default_instance()) delete sensor4_; + if (this != internal_default_instance()) delete sensor5_; + if (this != internal_default_instance()) delete sensor6_; + if (this != internal_default_instance()) delete sensor7_; + if (this != internal_default_instance()) delete sensor8_; +} + +void VehicleOBDO2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2& VehicleOBDO2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && sensor1_ != nullptr) { + delete sensor1_; + } + sensor1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor2_ != nullptr) { + delete sensor2_; + } + sensor2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor3_ != nullptr) { + delete sensor3_; + } + sensor3_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor4_ != nullptr) { + delete sensor4_; + } + sensor4_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor5_ != nullptr) { + delete sensor5_; + } + sensor5_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor6_ != nullptr) { + delete sensor6_; + } + sensor6_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor7_ != nullptr) { + delete sensor7_; + } + sensor7_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor8_ != nullptr) { + delete sensor8_; + } + sensor8_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleOBDO2Sensor1 Sensor1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor2 Sensor2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor3 Sensor3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor3(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor4 Sensor4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor4(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor5 Sensor5 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor5(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor6 Sensor6 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor6(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor7 Sensor7 = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor7(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2Sensor8 Sensor8 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor8(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleOBDO2Sensor1 Sensor1 = 1; + if (this->has_sensor1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::sensor1(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor2 Sensor2 = 2; + if (this->has_sensor2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::sensor2(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor3 Sensor3 = 3; + if (this->has_sensor3()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sensor3(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor4 Sensor4 = 4; + if (this->has_sensor4()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sensor4(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor5 Sensor5 = 5; + if (this->has_sensor5()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::sensor5(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor6 Sensor6 = 6; + if (this->has_sensor6()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::sensor6(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor7 Sensor7 = 7; + if (this->has_sensor7()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::sensor7(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor8 Sensor8 = 8; + if (this->has_sensor8()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::sensor8(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2) + return target; +} + +size_t VehicleOBDO2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleOBDO2Sensor1 Sensor1 = 1; + if (this->has_sensor1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor1_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor2 Sensor2 = 2; + if (this->has_sensor2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor2_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor3 Sensor3 = 3; + if (this->has_sensor3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor3_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor4 Sensor4 = 4; + if (this->has_sensor4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor4_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor5 Sensor5 = 5; + if (this->has_sensor5()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor5_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor6 Sensor6 = 6; + if (this->has_sensor6()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor6_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor7 Sensor7 = 7; + if (this->has_sensor7()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor7_); + } + + // .com.vehicle.messages.VehicleOBDO2Sensor8 Sensor8 = 8; + if (this->has_sensor8()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor8_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2) + MergeFrom(*source); + } +} + +void VehicleOBDO2::MergeFrom(const VehicleOBDO2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_sensor1()) { + _internal_mutable_sensor1()->::com::vehicle::messages::VehicleOBDO2Sensor1::MergeFrom(from._internal_sensor1()); + } + if (from.has_sensor2()) { + _internal_mutable_sensor2()->::com::vehicle::messages::VehicleOBDO2Sensor2::MergeFrom(from._internal_sensor2()); + } + if (from.has_sensor3()) { + _internal_mutable_sensor3()->::com::vehicle::messages::VehicleOBDO2Sensor3::MergeFrom(from._internal_sensor3()); + } + if (from.has_sensor4()) { + _internal_mutable_sensor4()->::com::vehicle::messages::VehicleOBDO2Sensor4::MergeFrom(from._internal_sensor4()); + } + if (from.has_sensor5()) { + _internal_mutable_sensor5()->::com::vehicle::messages::VehicleOBDO2Sensor5::MergeFrom(from._internal_sensor5()); + } + if (from.has_sensor6()) { + _internal_mutable_sensor6()->::com::vehicle::messages::VehicleOBDO2Sensor6::MergeFrom(from._internal_sensor6()); + } + if (from.has_sensor7()) { + _internal_mutable_sensor7()->::com::vehicle::messages::VehicleOBDO2Sensor7::MergeFrom(from._internal_sensor7()); + } + if (from.has_sensor8()) { + _internal_mutable_sensor8()->::com::vehicle::messages::VehicleOBDO2Sensor8::MergeFrom(from._internal_sensor8()); + } +} + +void VehicleOBDO2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2::CopyFrom(const VehicleOBDO2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2::IsInitialized() const { + return true; +} + +void VehicleOBDO2::InternalSwap(VehicleOBDO2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(sensor1_, other->sensor1_); + swap(sensor2_, other->sensor2_); + swap(sensor3_, other->sensor3_); + swap(sensor4_, other->sensor4_); + swap(sensor5_, other->sensor5_); + swap(sensor6_, other->sensor6_); + swap(sensor7_, other->sensor7_); + swap(sensor8_, other->sensor8_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor1::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor1::_Internal { + public: +}; + +VehicleOBDO2Sensor1::VehicleOBDO2Sensor1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor1) +} +VehicleOBDO2Sensor1::VehicleOBDO2Sensor1(const VehicleOBDO2Sensor1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor1) +} + +void VehicleOBDO2Sensor1::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor1::~VehicleOBDO2Sensor1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor1) + SharedDtor(); +} + +void VehicleOBDO2Sensor1::SharedDtor() { +} + +void VehicleOBDO2Sensor1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor1& VehicleOBDO2Sensor1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor1) + return target; +} + +size_t VehicleOBDO2Sensor1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor1) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor1::MergeFrom(const VehicleOBDO2Sensor1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor1::CopyFrom(const VehicleOBDO2Sensor1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor1::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor1::InternalSwap(VehicleOBDO2Sensor1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor2::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor2::_Internal { + public: +}; + +VehicleOBDO2Sensor2::VehicleOBDO2Sensor2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor2) +} +VehicleOBDO2Sensor2::VehicleOBDO2Sensor2(const VehicleOBDO2Sensor2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor2) +} + +void VehicleOBDO2Sensor2::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor2::~VehicleOBDO2Sensor2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor2) + SharedDtor(); +} + +void VehicleOBDO2Sensor2::SharedDtor() { +} + +void VehicleOBDO2Sensor2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor2& VehicleOBDO2Sensor2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor2) + return target; +} + +size_t VehicleOBDO2Sensor2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor2) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor2::MergeFrom(const VehicleOBDO2Sensor2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor2::CopyFrom(const VehicleOBDO2Sensor2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor2::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor2::InternalSwap(VehicleOBDO2Sensor2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor3::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor3::_Internal { + public: +}; + +VehicleOBDO2Sensor3::VehicleOBDO2Sensor3() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor3) +} +VehicleOBDO2Sensor3::VehicleOBDO2Sensor3(const VehicleOBDO2Sensor3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor3) +} + +void VehicleOBDO2Sensor3::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor3::~VehicleOBDO2Sensor3() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor3) + SharedDtor(); +} + +void VehicleOBDO2Sensor3::SharedDtor() { +} + +void VehicleOBDO2Sensor3::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor3& VehicleOBDO2Sensor3::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor3_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor3::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor3::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor3::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor3) + return target; +} + +size_t VehicleOBDO2Sensor3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor3) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor3::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor3) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor3* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor3>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor3) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor3) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor3::MergeFrom(const VehicleOBDO2Sensor3& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor3) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor3::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor3::CopyFrom(const VehicleOBDO2Sensor3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor3::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor3::InternalSwap(VehicleOBDO2Sensor3* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor3::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor4::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor4::_Internal { + public: +}; + +VehicleOBDO2Sensor4::VehicleOBDO2Sensor4() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor4) +} +VehicleOBDO2Sensor4::VehicleOBDO2Sensor4(const VehicleOBDO2Sensor4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor4) +} + +void VehicleOBDO2Sensor4::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor4::~VehicleOBDO2Sensor4() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor4) + SharedDtor(); +} + +void VehicleOBDO2Sensor4::SharedDtor() { +} + +void VehicleOBDO2Sensor4::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor4& VehicleOBDO2Sensor4::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor4_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor4::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor4::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor4::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor4) + return target; +} + +size_t VehicleOBDO2Sensor4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor4) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor4::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor4) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor4* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor4>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor4) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor4) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor4::MergeFrom(const VehicleOBDO2Sensor4& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor4) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor4::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor4::CopyFrom(const VehicleOBDO2Sensor4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor4::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor4::InternalSwap(VehicleOBDO2Sensor4* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor4::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor5::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor5::_Internal { + public: +}; + +VehicleOBDO2Sensor5::VehicleOBDO2Sensor5() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor5) +} +VehicleOBDO2Sensor5::VehicleOBDO2Sensor5(const VehicleOBDO2Sensor5& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor5) +} + +void VehicleOBDO2Sensor5::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor5::~VehicleOBDO2Sensor5() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor5) + SharedDtor(); +} + +void VehicleOBDO2Sensor5::SharedDtor() { +} + +void VehicleOBDO2Sensor5::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor5& VehicleOBDO2Sensor5::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor5_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor5::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor5) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor5::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor5::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor5) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor5) + return target; +} + +size_t VehicleOBDO2Sensor5::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor5) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor5::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor5) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor5* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor5>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor5) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor5) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor5::MergeFrom(const VehicleOBDO2Sensor5& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor5) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor5::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor5::CopyFrom(const VehicleOBDO2Sensor5& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor5::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor5::InternalSwap(VehicleOBDO2Sensor5* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor5::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor6::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor6::_Internal { + public: +}; + +VehicleOBDO2Sensor6::VehicleOBDO2Sensor6() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor6) +} +VehicleOBDO2Sensor6::VehicleOBDO2Sensor6(const VehicleOBDO2Sensor6& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor6) +} + +void VehicleOBDO2Sensor6::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor6::~VehicleOBDO2Sensor6() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor6) + SharedDtor(); +} + +void VehicleOBDO2Sensor6::SharedDtor() { +} + +void VehicleOBDO2Sensor6::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor6& VehicleOBDO2Sensor6::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor6_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor6::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor6) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor6::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor6::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor6) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor6) + return target; +} + +size_t VehicleOBDO2Sensor6::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor6) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor6::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor6) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor6* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor6>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor6) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor6) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor6::MergeFrom(const VehicleOBDO2Sensor6& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor6) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor6::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor6) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor6::CopyFrom(const VehicleOBDO2Sensor6& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor6) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor6::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor6::InternalSwap(VehicleOBDO2Sensor6* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor6::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor7::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor7::_Internal { + public: +}; + +VehicleOBDO2Sensor7::VehicleOBDO2Sensor7() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor7) +} +VehicleOBDO2Sensor7::VehicleOBDO2Sensor7(const VehicleOBDO2Sensor7& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor7) +} + +void VehicleOBDO2Sensor7::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor7::~VehicleOBDO2Sensor7() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor7) + SharedDtor(); +} + +void VehicleOBDO2Sensor7::SharedDtor() { +} + +void VehicleOBDO2Sensor7::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor7& VehicleOBDO2Sensor7::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor7_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor7::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor7) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor7::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor7::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor7) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor7) + return target; +} + +size_t VehicleOBDO2Sensor7::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor7) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor7::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor7) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor7* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor7>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor7) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor7) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor7::MergeFrom(const VehicleOBDO2Sensor7& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor7) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor7::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor7) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor7::CopyFrom(const VehicleOBDO2Sensor7& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor7) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor7::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor7::InternalSwap(VehicleOBDO2Sensor7* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor7::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2Sensor8::InitAsDefaultInstance() { +} +class VehicleOBDO2Sensor8::_Internal { + public: +}; + +VehicleOBDO2Sensor8::VehicleOBDO2Sensor8() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2Sensor8) +} +VehicleOBDO2Sensor8::VehicleOBDO2Sensor8(const VehicleOBDO2Sensor8& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&voltage_, &from.voltage_, + static_cast<size_t>(reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2Sensor8) +} + +void VehicleOBDO2Sensor8::SharedCtor() { + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); +} + +VehicleOBDO2Sensor8::~VehicleOBDO2Sensor8() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2Sensor8) + SharedDtor(); +} + +void VehicleOBDO2Sensor8::SharedDtor() { +} + +void VehicleOBDO2Sensor8::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2Sensor8& VehicleOBDO2Sensor8::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2Sensor8_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2Sensor8::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2Sensor8) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&voltage_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&shorttermfueltrim_) - + reinterpret_cast<char*>(&voltage_)) + sizeof(shorttermfueltrim_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2Sensor8::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Voltage = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float ShortTermFuelTrim = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + shorttermfueltrim_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2Sensor8::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2Sensor8) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_voltage(), target); + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_shorttermfueltrim(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2Sensor8) + return target; +} + +size_t VehicleOBDO2Sensor8::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2Sensor8) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Voltage = 1; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float ShortTermFuelTrim = 2; + if (!(this->shorttermfueltrim() <= 0 && this->shorttermfueltrim() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2Sensor8::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor8) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2Sensor8* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2Sensor8>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2Sensor8) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2Sensor8) + MergeFrom(*source); + } +} + +void VehicleOBDO2Sensor8::MergeFrom(const VehicleOBDO2Sensor8& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2Sensor8) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.shorttermfueltrim() <= 0 && from.shorttermfueltrim() >= 0)) { + _internal_set_shorttermfueltrim(from._internal_shorttermfueltrim()); + } +} + +void VehicleOBDO2Sensor8::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2Sensor8::CopyFrom(const VehicleOBDO2Sensor8& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2Sensor8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2Sensor8::IsInitialized() const { + return true; +} + +void VehicleOBDO2Sensor8::InternalSwap(VehicleOBDO2Sensor8* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(voltage_, other->voltage_); + swap(shorttermfueltrim_, other->shorttermfueltrim_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2Sensor8::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WR::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor1_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor1*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor1::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor2_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor2*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor2::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor3_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor3*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor3::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor4_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor4*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor4::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor5_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor5*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor5::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor6_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor6*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor6::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor7_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor7*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor7::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDO2WR_default_instance_._instance.get_mutable()->sensor8_ = const_cast< ::com::vehicle::messages::VehicleOBDO2WRSensor8*>( + ::com::vehicle::messages::VehicleOBDO2WRSensor8::internal_default_instance()); +} +class VehicleOBDO2WR::_Internal { + public: + static const ::com::vehicle::messages::VehicleOBDO2WRSensor1& sensor1(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor2& sensor2(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor3& sensor3(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor4& sensor4(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor5& sensor5(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor6& sensor6(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor7& sensor7(const VehicleOBDO2WR* msg); + static const ::com::vehicle::messages::VehicleOBDO2WRSensor8& sensor8(const VehicleOBDO2WR* msg); +}; + +const ::com::vehicle::messages::VehicleOBDO2WRSensor1& +VehicleOBDO2WR::_Internal::sensor1(const VehicleOBDO2WR* msg) { + return *msg->sensor1_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor2& +VehicleOBDO2WR::_Internal::sensor2(const VehicleOBDO2WR* msg) { + return *msg->sensor2_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor3& +VehicleOBDO2WR::_Internal::sensor3(const VehicleOBDO2WR* msg) { + return *msg->sensor3_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor4& +VehicleOBDO2WR::_Internal::sensor4(const VehicleOBDO2WR* msg) { + return *msg->sensor4_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor5& +VehicleOBDO2WR::_Internal::sensor5(const VehicleOBDO2WR* msg) { + return *msg->sensor5_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor6& +VehicleOBDO2WR::_Internal::sensor6(const VehicleOBDO2WR* msg) { + return *msg->sensor6_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor7& +VehicleOBDO2WR::_Internal::sensor7(const VehicleOBDO2WR* msg) { + return *msg->sensor7_; +} +const ::com::vehicle::messages::VehicleOBDO2WRSensor8& +VehicleOBDO2WR::_Internal::sensor8(const VehicleOBDO2WR* msg) { + return *msg->sensor8_; +} +VehicleOBDO2WR::VehicleOBDO2WR() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WR) +} +VehicleOBDO2WR::VehicleOBDO2WR(const VehicleOBDO2WR& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_sensor1()) { + sensor1_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor1(*from.sensor1_); + } else { + sensor1_ = nullptr; + } + if (from._internal_has_sensor2()) { + sensor2_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor2(*from.sensor2_); + } else { + sensor2_ = nullptr; + } + if (from._internal_has_sensor3()) { + sensor3_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor3(*from.sensor3_); + } else { + sensor3_ = nullptr; + } + if (from._internal_has_sensor4()) { + sensor4_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor4(*from.sensor4_); + } else { + sensor4_ = nullptr; + } + if (from._internal_has_sensor5()) { + sensor5_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor5(*from.sensor5_); + } else { + sensor5_ = nullptr; + } + if (from._internal_has_sensor6()) { + sensor6_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor6(*from.sensor6_); + } else { + sensor6_ = nullptr; + } + if (from._internal_has_sensor7()) { + sensor7_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor7(*from.sensor7_); + } else { + sensor7_ = nullptr; + } + if (from._internal_has_sensor8()) { + sensor8_ = new ::com::vehicle::messages::VehicleOBDO2WRSensor8(*from.sensor8_); + } else { + sensor8_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WR) +} + +void VehicleOBDO2WR::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto.base); + ::memset(&sensor1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&sensor8_) - + reinterpret_cast<char*>(&sensor1_)) + sizeof(sensor8_)); +} + +VehicleOBDO2WR::~VehicleOBDO2WR() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WR) + SharedDtor(); +} + +void VehicleOBDO2WR::SharedDtor() { + if (this != internal_default_instance()) delete sensor1_; + if (this != internal_default_instance()) delete sensor2_; + if (this != internal_default_instance()) delete sensor3_; + if (this != internal_default_instance()) delete sensor4_; + if (this != internal_default_instance()) delete sensor5_; + if (this != internal_default_instance()) delete sensor6_; + if (this != internal_default_instance()) delete sensor7_; + if (this != internal_default_instance()) delete sensor8_; +} + +void VehicleOBDO2WR::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WR& VehicleOBDO2WR::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WR_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WR::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WR) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && sensor1_ != nullptr) { + delete sensor1_; + } + sensor1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor2_ != nullptr) { + delete sensor2_; + } + sensor2_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor3_ != nullptr) { + delete sensor3_; + } + sensor3_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor4_ != nullptr) { + delete sensor4_; + } + sensor4_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor5_ != nullptr) { + delete sensor5_; + } + sensor5_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor6_ != nullptr) { + delete sensor6_; + } + sensor6_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor7_ != nullptr) { + delete sensor7_; + } + sensor7_ = nullptr; + if (GetArenaNoVirtual() == nullptr && sensor8_ != nullptr) { + delete sensor8_; + } + sensor8_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WR::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleOBDO2WRSensor1 Sensor1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor2 Sensor2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor3 Sensor3 = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor3(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor4 Sensor4 = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor4(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor5 Sensor5 = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor5(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor6 Sensor6 = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 50)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor6(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor7 Sensor7 = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 58)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor7(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDO2WRSensor8 Sensor8 = 8; + case 8: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 66)) { + ptr = ctx->ParseMessage(_internal_mutable_sensor8(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WR::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WR) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleOBDO2WRSensor1 Sensor1 = 1; + if (this->has_sensor1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::sensor1(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor2 Sensor2 = 2; + if (this->has_sensor2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::sensor2(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor3 Sensor3 = 3; + if (this->has_sensor3()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, _Internal::sensor3(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor4 Sensor4 = 4; + if (this->has_sensor4()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 4, _Internal::sensor4(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor5 Sensor5 = 5; + if (this->has_sensor5()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 5, _Internal::sensor5(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor6 Sensor6 = 6; + if (this->has_sensor6()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 6, _Internal::sensor6(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor7 Sensor7 = 7; + if (this->has_sensor7()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 7, _Internal::sensor7(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor8 Sensor8 = 8; + if (this->has_sensor8()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 8, _Internal::sensor8(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WR) + return target; +} + +size_t VehicleOBDO2WR::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WR) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleOBDO2WRSensor1 Sensor1 = 1; + if (this->has_sensor1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor1_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor2 Sensor2 = 2; + if (this->has_sensor2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor2_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor3 Sensor3 = 3; + if (this->has_sensor3()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor3_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor4 Sensor4 = 4; + if (this->has_sensor4()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor4_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor5 Sensor5 = 5; + if (this->has_sensor5()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor5_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor6 Sensor6 = 6; + if (this->has_sensor6()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor6_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor7 Sensor7 = 7; + if (this->has_sensor7()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor7_); + } + + // .com.vehicle.messages.VehicleOBDO2WRSensor8 Sensor8 = 8; + if (this->has_sensor8()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *sensor8_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WR::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WR) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WR* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WR>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WR) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WR) + MergeFrom(*source); + } +} + +void VehicleOBDO2WR::MergeFrom(const VehicleOBDO2WR& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WR) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_sensor1()) { + _internal_mutable_sensor1()->::com::vehicle::messages::VehicleOBDO2WRSensor1::MergeFrom(from._internal_sensor1()); + } + if (from.has_sensor2()) { + _internal_mutable_sensor2()->::com::vehicle::messages::VehicleOBDO2WRSensor2::MergeFrom(from._internal_sensor2()); + } + if (from.has_sensor3()) { + _internal_mutable_sensor3()->::com::vehicle::messages::VehicleOBDO2WRSensor3::MergeFrom(from._internal_sensor3()); + } + if (from.has_sensor4()) { + _internal_mutable_sensor4()->::com::vehicle::messages::VehicleOBDO2WRSensor4::MergeFrom(from._internal_sensor4()); + } + if (from.has_sensor5()) { + _internal_mutable_sensor5()->::com::vehicle::messages::VehicleOBDO2WRSensor5::MergeFrom(from._internal_sensor5()); + } + if (from.has_sensor6()) { + _internal_mutable_sensor6()->::com::vehicle::messages::VehicleOBDO2WRSensor6::MergeFrom(from._internal_sensor6()); + } + if (from.has_sensor7()) { + _internal_mutable_sensor7()->::com::vehicle::messages::VehicleOBDO2WRSensor7::MergeFrom(from._internal_sensor7()); + } + if (from.has_sensor8()) { + _internal_mutable_sensor8()->::com::vehicle::messages::VehicleOBDO2WRSensor8::MergeFrom(from._internal_sensor8()); + } +} + +void VehicleOBDO2WR::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WR) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WR::CopyFrom(const VehicleOBDO2WR& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WR) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WR::IsInitialized() const { + return true; +} + +void VehicleOBDO2WR::InternalSwap(VehicleOBDO2WR* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(sensor1_, other->sensor1_); + swap(sensor2_, other->sensor2_); + swap(sensor3_, other->sensor3_); + swap(sensor4_, other->sensor4_); + swap(sensor5_, other->sensor5_); + swap(sensor6_, other->sensor6_); + swap(sensor7_, other->sensor7_); + swap(sensor8_, other->sensor8_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WR::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor1::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor1::_Internal { + public: +}; + +VehicleOBDO2WRSensor1::VehicleOBDO2WRSensor1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor1) +} +VehicleOBDO2WRSensor1::VehicleOBDO2WRSensor1(const VehicleOBDO2WRSensor1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor1) +} + +void VehicleOBDO2WRSensor1::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor1::~VehicleOBDO2WRSensor1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor1) + SharedDtor(); +} + +void VehicleOBDO2WRSensor1::SharedDtor() { +} + +void VehicleOBDO2WRSensor1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor1& VehicleOBDO2WRSensor1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor1) + return target; +} + +size_t VehicleOBDO2WRSensor1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor1) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor1::MergeFrom(const VehicleOBDO2WRSensor1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor1::CopyFrom(const VehicleOBDO2WRSensor1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor1::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor1::InternalSwap(VehicleOBDO2WRSensor1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor2::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor2::_Internal { + public: +}; + +VehicleOBDO2WRSensor2::VehicleOBDO2WRSensor2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor2) +} +VehicleOBDO2WRSensor2::VehicleOBDO2WRSensor2(const VehicleOBDO2WRSensor2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor2) +} + +void VehicleOBDO2WRSensor2::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor2::~VehicleOBDO2WRSensor2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor2) + SharedDtor(); +} + +void VehicleOBDO2WRSensor2::SharedDtor() { +} + +void VehicleOBDO2WRSensor2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor2& VehicleOBDO2WRSensor2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor2) + return target; +} + +size_t VehicleOBDO2WRSensor2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor2) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor2::MergeFrom(const VehicleOBDO2WRSensor2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor2::CopyFrom(const VehicleOBDO2WRSensor2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor2::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor2::InternalSwap(VehicleOBDO2WRSensor2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor3::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor3::_Internal { + public: +}; + +VehicleOBDO2WRSensor3::VehicleOBDO2WRSensor3() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor3) +} +VehicleOBDO2WRSensor3::VehicleOBDO2WRSensor3(const VehicleOBDO2WRSensor3& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor3) +} + +void VehicleOBDO2WRSensor3::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor3::~VehicleOBDO2WRSensor3() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor3) + SharedDtor(); +} + +void VehicleOBDO2WRSensor3::SharedDtor() { +} + +void VehicleOBDO2WRSensor3::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor3& VehicleOBDO2WRSensor3::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor3_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor3::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor3::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor3::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor3) + return target; +} + +size_t VehicleOBDO2WRSensor3::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor3::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor3* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor3>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor3) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor3) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor3::MergeFrom(const VehicleOBDO2WRSensor3& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor3::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor3::CopyFrom(const VehicleOBDO2WRSensor3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor3::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor3::InternalSwap(VehicleOBDO2WRSensor3* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor3::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor4::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor4::_Internal { + public: +}; + +VehicleOBDO2WRSensor4::VehicleOBDO2WRSensor4() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor4) +} +VehicleOBDO2WRSensor4::VehicleOBDO2WRSensor4(const VehicleOBDO2WRSensor4& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor4) +} + +void VehicleOBDO2WRSensor4::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor4::~VehicleOBDO2WRSensor4() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor4) + SharedDtor(); +} + +void VehicleOBDO2WRSensor4::SharedDtor() { +} + +void VehicleOBDO2WRSensor4::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor4& VehicleOBDO2WRSensor4::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor4_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor4::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor4::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor4::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor4) + return target; +} + +size_t VehicleOBDO2WRSensor4::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor4::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor4* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor4>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor4) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor4) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor4::MergeFrom(const VehicleOBDO2WRSensor4& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor4::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor4::CopyFrom(const VehicleOBDO2WRSensor4& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor4) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor4::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor4::InternalSwap(VehicleOBDO2WRSensor4* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor4::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor5::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor5::_Internal { + public: +}; + +VehicleOBDO2WRSensor5::VehicleOBDO2WRSensor5() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor5) +} +VehicleOBDO2WRSensor5::VehicleOBDO2WRSensor5(const VehicleOBDO2WRSensor5& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor5) +} + +void VehicleOBDO2WRSensor5::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor5::~VehicleOBDO2WRSensor5() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor5) + SharedDtor(); +} + +void VehicleOBDO2WRSensor5::SharedDtor() { +} + +void VehicleOBDO2WRSensor5::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor5& VehicleOBDO2WRSensor5::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor5_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor5::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor5::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor5::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor5) + return target; +} + +size_t VehicleOBDO2WRSensor5::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor5::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor5* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor5>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor5) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor5) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor5::MergeFrom(const VehicleOBDO2WRSensor5& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor5::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor5::CopyFrom(const VehicleOBDO2WRSensor5& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor5) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor5::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor5::InternalSwap(VehicleOBDO2WRSensor5* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor5::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor6::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor6::_Internal { + public: +}; + +VehicleOBDO2WRSensor6::VehicleOBDO2WRSensor6() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor6) +} +VehicleOBDO2WRSensor6::VehicleOBDO2WRSensor6(const VehicleOBDO2WRSensor6& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor6) +} + +void VehicleOBDO2WRSensor6::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor6::~VehicleOBDO2WRSensor6() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor6) + SharedDtor(); +} + +void VehicleOBDO2WRSensor6::SharedDtor() { +} + +void VehicleOBDO2WRSensor6::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor6& VehicleOBDO2WRSensor6::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor6_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor6::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor6::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor6::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor6) + return target; +} + +size_t VehicleOBDO2WRSensor6::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor6::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor6* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor6>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor6) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor6) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor6::MergeFrom(const VehicleOBDO2WRSensor6& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor6::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor6::CopyFrom(const VehicleOBDO2WRSensor6& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor6) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor6::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor6::InternalSwap(VehicleOBDO2WRSensor6* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor6::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor7::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor7::_Internal { + public: +}; + +VehicleOBDO2WRSensor7::VehicleOBDO2WRSensor7() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor7) +} +VehicleOBDO2WRSensor7::VehicleOBDO2WRSensor7(const VehicleOBDO2WRSensor7& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor7) +} + +void VehicleOBDO2WRSensor7::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor7::~VehicleOBDO2WRSensor7() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor7) + SharedDtor(); +} + +void VehicleOBDO2WRSensor7::SharedDtor() { +} + +void VehicleOBDO2WRSensor7::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor7& VehicleOBDO2WRSensor7::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor7_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor7::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor7::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor7::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor7) + return target; +} + +size_t VehicleOBDO2WRSensor7::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor7::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor7* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor7>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor7) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor7) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor7::MergeFrom(const VehicleOBDO2WRSensor7& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor7::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor7::CopyFrom(const VehicleOBDO2WRSensor7& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor7) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor7::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor7::InternalSwap(VehicleOBDO2WRSensor7* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor7::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDO2WRSensor8::InitAsDefaultInstance() { +} +class VehicleOBDO2WRSensor8::_Internal { + public: +}; + +VehicleOBDO2WRSensor8::VehicleOBDO2WRSensor8() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDO2WRSensor8) +} +VehicleOBDO2WRSensor8::VehicleOBDO2WRSensor8(const VehicleOBDO2WRSensor8& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&lambda_, &from.lambda_, + static_cast<size_t>(reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDO2WRSensor8) +} + +void VehicleOBDO2WRSensor8::SharedCtor() { + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); +} + +VehicleOBDO2WRSensor8::~VehicleOBDO2WRSensor8() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDO2WRSensor8) + SharedDtor(); +} + +void VehicleOBDO2WRSensor8::SharedDtor() { +} + +void VehicleOBDO2WRSensor8::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDO2WRSensor8& VehicleOBDO2WRSensor8::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDO2WRSensor8_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDO2WRSensor8::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&lambda_, 0, static_cast<size_t>( + reinterpret_cast<char*>(¤t_) - + reinterpret_cast<char*>(&lambda_)) + sizeof(current_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDO2WRSensor8::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Lambda = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + lambda_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Voltage = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + voltage_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Current = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + current_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDO2WRSensor8::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_lambda(), target); + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_voltage(), target); + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_current(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDO2WRSensor8) + return target; +} + +size_t VehicleOBDO2WRSensor8::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Lambda = 1; + if (!(this->lambda() <= 0 && this->lambda() >= 0)) { + total_size += 1 + 4; + } + + // float Voltage = 2; + if (!(this->voltage() <= 0 && this->voltage() >= 0)) { + total_size += 1 + 4; + } + + // float Current = 3; + if (!(this->current() <= 0 && this->current() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDO2WRSensor8::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDO2WRSensor8* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDO2WRSensor8>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDO2WRSensor8) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDO2WRSensor8) + MergeFrom(*source); + } +} + +void VehicleOBDO2WRSensor8::MergeFrom(const VehicleOBDO2WRSensor8& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.lambda() <= 0 && from.lambda() >= 0)) { + _internal_set_lambda(from._internal_lambda()); + } + if (!(from.voltage() <= 0 && from.voltage() >= 0)) { + _internal_set_voltage(from._internal_voltage()); + } + if (!(from.current() <= 0 && from.current() >= 0)) { + _internal_set_current(from._internal_current()); + } +} + +void VehicleOBDO2WRSensor8::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDO2WRSensor8::CopyFrom(const VehicleOBDO2WRSensor8& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDO2WRSensor8) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDO2WRSensor8::IsInitialized() const { + return true; +} + +void VehicleOBDO2WRSensor8::InternalSwap(VehicleOBDO2WRSensor8* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(lambda_, other->lambda_); + swap(voltage_, other->voltage_); + swap(current_, other->current_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDO2WRSensor8::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDCatalyst::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleOBDCatalyst_default_instance_._instance.get_mutable()->bank1_ = const_cast< ::com::vehicle::messages::VehicleOBDCatalystBank1*>( + ::com::vehicle::messages::VehicleOBDCatalystBank1::internal_default_instance()); + ::com::vehicle::messages::_VehicleOBDCatalyst_default_instance_._instance.get_mutable()->bank2_ = const_cast< ::com::vehicle::messages::VehicleOBDCatalystBank2*>( + ::com::vehicle::messages::VehicleOBDCatalystBank2::internal_default_instance()); +} +class VehicleOBDCatalyst::_Internal { + public: + static const ::com::vehicle::messages::VehicleOBDCatalystBank1& bank1(const VehicleOBDCatalyst* msg); + static const ::com::vehicle::messages::VehicleOBDCatalystBank2& bank2(const VehicleOBDCatalyst* msg); +}; + +const ::com::vehicle::messages::VehicleOBDCatalystBank1& +VehicleOBDCatalyst::_Internal::bank1(const VehicleOBDCatalyst* msg) { + return *msg->bank1_; +} +const ::com::vehicle::messages::VehicleOBDCatalystBank2& +VehicleOBDCatalyst::_Internal::bank2(const VehicleOBDCatalyst* msg) { + return *msg->bank2_; +} +VehicleOBDCatalyst::VehicleOBDCatalyst() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDCatalyst) +} +VehicleOBDCatalyst::VehicleOBDCatalyst(const VehicleOBDCatalyst& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_bank1()) { + bank1_ = new ::com::vehicle::messages::VehicleOBDCatalystBank1(*from.bank1_); + } else { + bank1_ = nullptr; + } + if (from._internal_has_bank2()) { + bank2_ = new ::com::vehicle::messages::VehicleOBDCatalystBank2(*from.bank2_); + } else { + bank2_ = nullptr; + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDCatalyst) +} + +void VehicleOBDCatalyst::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto.base); + ::memset(&bank1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&bank2_) - + reinterpret_cast<char*>(&bank1_)) + sizeof(bank2_)); +} + +VehicleOBDCatalyst::~VehicleOBDCatalyst() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDCatalyst) + SharedDtor(); +} + +void VehicleOBDCatalyst::SharedDtor() { + if (this != internal_default_instance()) delete bank1_; + if (this != internal_default_instance()) delete bank2_; +} + +void VehicleOBDCatalyst::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDCatalyst& VehicleOBDCatalyst::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDCatalyst_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDCatalyst::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDCatalyst) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && bank1_ != nullptr) { + delete bank1_; + } + bank1_ = nullptr; + if (GetArenaNoVirtual() == nullptr && bank2_ != nullptr) { + delete bank2_; + } + bank2_ = nullptr; + _internal_metadata_.Clear(); +} + +const char* VehicleOBDCatalyst::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleOBDCatalystBank1 Bank1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_bank1(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .com.vehicle.messages.VehicleOBDCatalystBank2 Bank2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ctx->ParseMessage(_internal_mutable_bank2(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDCatalyst::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDCatalyst) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleOBDCatalystBank1 Bank1 = 1; + if (this->has_bank1()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::bank1(this), target, stream); + } + + // .com.vehicle.messages.VehicleOBDCatalystBank2 Bank2 = 2; + if (this->has_bank2()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 2, _Internal::bank2(this), target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDCatalyst) + return target; +} + +size_t VehicleOBDCatalyst::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDCatalyst) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleOBDCatalystBank1 Bank1 = 1; + if (this->has_bank1()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *bank1_); + } + + // .com.vehicle.messages.VehicleOBDCatalystBank2 Bank2 = 2; + if (this->has_bank2()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *bank2_); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDCatalyst::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDCatalyst) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDCatalyst* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDCatalyst>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDCatalyst) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDCatalyst) + MergeFrom(*source); + } +} + +void VehicleOBDCatalyst::MergeFrom(const VehicleOBDCatalyst& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDCatalyst) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_bank1()) { + _internal_mutable_bank1()->::com::vehicle::messages::VehicleOBDCatalystBank1::MergeFrom(from._internal_bank1()); + } + if (from.has_bank2()) { + _internal_mutable_bank2()->::com::vehicle::messages::VehicleOBDCatalystBank2::MergeFrom(from._internal_bank2()); + } +} + +void VehicleOBDCatalyst::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDCatalyst) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDCatalyst::CopyFrom(const VehicleOBDCatalyst& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDCatalyst) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDCatalyst::IsInitialized() const { + return true; +} + +void VehicleOBDCatalyst::InternalSwap(VehicleOBDCatalyst* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(bank1_, other->bank1_); + swap(bank2_, other->bank2_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDCatalyst::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDCatalystBank1::InitAsDefaultInstance() { +} +class VehicleOBDCatalystBank1::_Internal { + public: +}; + +VehicleOBDCatalystBank1::VehicleOBDCatalystBank1() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDCatalystBank1) +} +VehicleOBDCatalystBank1::VehicleOBDCatalystBank1(const VehicleOBDCatalystBank1& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&temperature1_, &from.temperature1_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature2_) - + reinterpret_cast<char*>(&temperature1_)) + sizeof(temperature2_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDCatalystBank1) +} + +void VehicleOBDCatalystBank1::SharedCtor() { + ::memset(&temperature1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature2_) - + reinterpret_cast<char*>(&temperature1_)) + sizeof(temperature2_)); +} + +VehicleOBDCatalystBank1::~VehicleOBDCatalystBank1() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDCatalystBank1) + SharedDtor(); +} + +void VehicleOBDCatalystBank1::SharedDtor() { +} + +void VehicleOBDCatalystBank1::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDCatalystBank1& VehicleOBDCatalystBank1::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDCatalystBank1_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDCatalystBank1::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDCatalystBank1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&temperature1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature2_) - + reinterpret_cast<char*>(&temperature1_)) + sizeof(temperature2_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDCatalystBank1::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Temperature1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + temperature1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Temperature2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + temperature2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDCatalystBank1::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDCatalystBank1) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Temperature1 = 1; + if (!(this->temperature1() <= 0 && this->temperature1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_temperature1(), target); + } + + // float Temperature2 = 2; + if (!(this->temperature2() <= 0 && this->temperature2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_temperature2(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDCatalystBank1) + return target; +} + +size_t VehicleOBDCatalystBank1::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDCatalystBank1) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Temperature1 = 1; + if (!(this->temperature1() <= 0 && this->temperature1() >= 0)) { + total_size += 1 + 4; + } + + // float Temperature2 = 2; + if (!(this->temperature2() <= 0 && this->temperature2() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDCatalystBank1::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDCatalystBank1) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDCatalystBank1* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDCatalystBank1>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDCatalystBank1) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDCatalystBank1) + MergeFrom(*source); + } +} + +void VehicleOBDCatalystBank1::MergeFrom(const VehicleOBDCatalystBank1& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDCatalystBank1) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.temperature1() <= 0 && from.temperature1() >= 0)) { + _internal_set_temperature1(from._internal_temperature1()); + } + if (!(from.temperature2() <= 0 && from.temperature2() >= 0)) { + _internal_set_temperature2(from._internal_temperature2()); + } +} + +void VehicleOBDCatalystBank1::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDCatalystBank1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDCatalystBank1::CopyFrom(const VehicleOBDCatalystBank1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDCatalystBank1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDCatalystBank1::IsInitialized() const { + return true; +} + +void VehicleOBDCatalystBank1::InternalSwap(VehicleOBDCatalystBank1* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(temperature1_, other->temperature1_); + swap(temperature2_, other->temperature2_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDCatalystBank1::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDCatalystBank2::InitAsDefaultInstance() { +} +class VehicleOBDCatalystBank2::_Internal { + public: +}; + +VehicleOBDCatalystBank2::VehicleOBDCatalystBank2() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDCatalystBank2) +} +VehicleOBDCatalystBank2::VehicleOBDCatalystBank2(const VehicleOBDCatalystBank2& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&temperature1_, &from.temperature1_, + static_cast<size_t>(reinterpret_cast<char*>(&temperature2_) - + reinterpret_cast<char*>(&temperature1_)) + sizeof(temperature2_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDCatalystBank2) +} + +void VehicleOBDCatalystBank2::SharedCtor() { + ::memset(&temperature1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature2_) - + reinterpret_cast<char*>(&temperature1_)) + sizeof(temperature2_)); +} + +VehicleOBDCatalystBank2::~VehicleOBDCatalystBank2() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDCatalystBank2) + SharedDtor(); +} + +void VehicleOBDCatalystBank2::SharedDtor() { +} + +void VehicleOBDCatalystBank2::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDCatalystBank2& VehicleOBDCatalystBank2::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDCatalystBank2_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDCatalystBank2::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDCatalystBank2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&temperature1_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&temperature2_) - + reinterpret_cast<char*>(&temperature1_)) + sizeof(temperature2_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDCatalystBank2::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float Temperature1 = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + temperature1_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Temperature2 = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + temperature2_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDCatalystBank2::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDCatalystBank2) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float Temperature1 = 1; + if (!(this->temperature1() <= 0 && this->temperature1() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_temperature1(), target); + } + + // float Temperature2 = 2; + if (!(this->temperature2() <= 0 && this->temperature2() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_temperature2(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDCatalystBank2) + return target; +} + +size_t VehicleOBDCatalystBank2::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDCatalystBank2) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float Temperature1 = 1; + if (!(this->temperature1() <= 0 && this->temperature1() >= 0)) { + total_size += 1 + 4; + } + + // float Temperature2 = 2; + if (!(this->temperature2() <= 0 && this->temperature2() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDCatalystBank2::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDCatalystBank2) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDCatalystBank2* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDCatalystBank2>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDCatalystBank2) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDCatalystBank2) + MergeFrom(*source); + } +} + +void VehicleOBDCatalystBank2::MergeFrom(const VehicleOBDCatalystBank2& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDCatalystBank2) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.temperature1() <= 0 && from.temperature1() >= 0)) { + _internal_set_temperature1(from._internal_temperature1()); + } + if (!(from.temperature2() <= 0 && from.temperature2() >= 0)) { + _internal_set_temperature2(from._internal_temperature2()); + } +} + +void VehicleOBDCatalystBank2::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDCatalystBank2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDCatalystBank2::CopyFrom(const VehicleOBDCatalystBank2& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDCatalystBank2) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDCatalystBank2::IsInitialized() const { + return true; +} + +void VehicleOBDCatalystBank2::InternalSwap(VehicleOBDCatalystBank2* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(temperature1_, other->temperature1_); + swap(temperature2_, other->temperature2_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDCatalystBank2::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleOBDDriveCycleStatus::InitAsDefaultInstance() { +} +class VehicleOBDDriveCycleStatus::_Internal { + public: +}; + +VehicleOBDDriveCycleStatus::VehicleOBDDriveCycleStatus() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleOBDDriveCycleStatus) +} +VehicleOBDDriveCycleStatus::VehicleOBDDriveCycleStatus(const VehicleOBDDriveCycleStatus& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ignitiontype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_ignitiontype().empty()) { + ignitiontype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.ignitiontype_); + } + ::memcpy(&ismilon_, &from.ismilon_, + static_cast<size_t>(reinterpret_cast<char*>(&dtccount_) - + reinterpret_cast<char*>(&ismilon_)) + sizeof(dtccount_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleOBDDriveCycleStatus) +} + +void VehicleOBDDriveCycleStatus::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto.base); + ignitiontype_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&ismilon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&dtccount_) - + reinterpret_cast<char*>(&ismilon_)) + sizeof(dtccount_)); +} + +VehicleOBDDriveCycleStatus::~VehicleOBDDriveCycleStatus() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleOBDDriveCycleStatus) + SharedDtor(); +} + +void VehicleOBDDriveCycleStatus::SharedDtor() { + ignitiontype_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleOBDDriveCycleStatus::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleOBDDriveCycleStatus& VehicleOBDDriveCycleStatus::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleOBDDriveCycleStatus_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleOBDDriveCycleStatus::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ignitiontype_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + ::memset(&ismilon_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&dtccount_) - + reinterpret_cast<char*>(&ismilon_)) + sizeof(dtccount_)); + _internal_metadata_.Clear(); +} + +const char* VehicleOBDDriveCycleStatus::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsMILOn = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + ismilon_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint32 DTCCount = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + dtccount_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string IgnitionType = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_ignitiontype(), ptr, ctx, "com.vehicle.messages.VehicleOBDDriveCycleStatus.IgnitionType"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleOBDDriveCycleStatus::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsMILOn = 1; + if (this->ismilon() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_ismilon(), target); + } + + // uint32 DTCCount = 2; + if (this->dtccount() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(2, this->_internal_dtccount(), target); + } + + // string IgnitionType = 3; + if (this->ignitiontype().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_ignitiontype().data(), static_cast<int>(this->_internal_ignitiontype().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleOBDDriveCycleStatus.IgnitionType"); + target = stream->WriteStringMaybeAliased( + 3, this->_internal_ignitiontype(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleOBDDriveCycleStatus) + return target; +} + +size_t VehicleOBDDriveCycleStatus::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string IgnitionType = 3; + if (this->ignitiontype().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_ignitiontype()); + } + + // bool IsMILOn = 1; + if (this->ismilon() != 0) { + total_size += 1 + 1; + } + + // uint32 DTCCount = 2; + if (this->dtccount() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_dtccount()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleOBDDriveCycleStatus::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + GOOGLE_DCHECK_NE(&from, this); + const VehicleOBDDriveCycleStatus* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleOBDDriveCycleStatus>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleOBDDriveCycleStatus) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleOBDDriveCycleStatus) + MergeFrom(*source); + } +} + +void VehicleOBDDriveCycleStatus::MergeFrom(const VehicleOBDDriveCycleStatus& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.ignitiontype().size() > 0) { + + ignitiontype_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.ignitiontype_); + } + if (from.ismilon() != 0) { + _internal_set_ismilon(from._internal_ismilon()); + } + if (from.dtccount() != 0) { + _internal_set_dtccount(from._internal_dtccount()); + } +} + +void VehicleOBDDriveCycleStatus::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleOBDDriveCycleStatus::CopyFrom(const VehicleOBDDriveCycleStatus& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleOBDDriveCycleStatus) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleOBDDriveCycleStatus::IsInitialized() const { + return true; +} + +void VehicleOBDDriveCycleStatus::InternalSwap(VehicleOBDDriveCycleStatus* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + ignitiontype_.Swap(&other->ignitiontype_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + swap(ismilon_, other->ismilon_); + swap(dtccount_, other->dtccount_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleOBDDriveCycleStatus::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleDriver::InitAsDefaultInstance() { + ::com::vehicle::messages::_VehicleDriver_default_instance_._instance.get_mutable()->identifier_ = const_cast< ::com::vehicle::messages::VehicleDriverIdentifier*>( + ::com::vehicle::messages::VehicleDriverIdentifier::internal_default_instance()); +} +class VehicleDriver::_Internal { + public: + static const ::com::vehicle::messages::VehicleDriverIdentifier& identifier(const VehicleDriver* msg); +}; + +const ::com::vehicle::messages::VehicleDriverIdentifier& +VehicleDriver::_Internal::identifier(const VehicleDriver* msg) { + return *msg->identifier_; +} +VehicleDriver::VehicleDriver() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleDriver) +} +VehicleDriver::VehicleDriver(const VehicleDriver& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from._internal_has_identifier()) { + identifier_ = new ::com::vehicle::messages::VehicleDriverIdentifier(*from.identifier_); + } else { + identifier_ = nullptr; + } + ::memcpy(&distractionlevel_, &from.distractionlevel_, + static_cast<size_t>(reinterpret_cast<char*>(&heartrate_) - + reinterpret_cast<char*>(&distractionlevel_)) + sizeof(heartrate_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleDriver) +} + +void VehicleDriver::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleDriver_V2C_2fvspec_2eproto.base); + ::memset(&identifier_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&heartrate_) - + reinterpret_cast<char*>(&identifier_)) + sizeof(heartrate_)); +} + +VehicleDriver::~VehicleDriver() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleDriver) + SharedDtor(); +} + +void VehicleDriver::SharedDtor() { + if (this != internal_default_instance()) delete identifier_; +} + +void VehicleDriver::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleDriver& VehicleDriver::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleDriver_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleDriver::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleDriver) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && identifier_ != nullptr) { + delete identifier_; + } + identifier_ = nullptr; + ::memset(&distractionlevel_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&heartrate_) - + reinterpret_cast<char*>(&distractionlevel_)) + sizeof(heartrate_)); + _internal_metadata_.Clear(); +} + +const char* VehicleDriver::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .com.vehicle.messages.VehicleDriverIdentifier Identifier = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(_internal_mutable_identifier(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float DistractionLevel = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + distractionlevel_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // bool IsEyesOnRoad = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + iseyesonroad_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float AttentiveProbability = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 37)) { + attentiveprobability_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float FatigueLevel = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 45)) { + fatiguelevel_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // uint32 HeartRate = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + heartrate_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleDriver::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleDriver) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleDriverIdentifier Identifier = 1; + if (this->has_identifier()) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::identifier(this), target, stream); + } + + // float DistractionLevel = 2; + if (!(this->distractionlevel() <= 0 && this->distractionlevel() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_distractionlevel(), target); + } + + // bool IsEyesOnRoad = 3; + if (this->iseyesonroad() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(3, this->_internal_iseyesonroad(), target); + } + + // float AttentiveProbability = 4; + if (!(this->attentiveprobability() <= 0 && this->attentiveprobability() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(4, this->_internal_attentiveprobability(), target); + } + + // float FatigueLevel = 5; + if (!(this->fatiguelevel() <= 0 && this->fatiguelevel() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(5, this->_internal_fatiguelevel(), target); + } + + // uint32 HeartRate = 6; + if (this->heartrate() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt32ToArray(6, this->_internal_heartrate(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleDriver) + return target; +} + +size_t VehicleDriver::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleDriver) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .com.vehicle.messages.VehicleDriverIdentifier Identifier = 1; + if (this->has_identifier()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *identifier_); + } + + // float DistractionLevel = 2; + if (!(this->distractionlevel() <= 0 && this->distractionlevel() >= 0)) { + total_size += 1 + 4; + } + + // bool IsEyesOnRoad = 3; + if (this->iseyesonroad() != 0) { + total_size += 1 + 1; + } + + // float AttentiveProbability = 4; + if (!(this->attentiveprobability() <= 0 && this->attentiveprobability() >= 0)) { + total_size += 1 + 4; + } + + // float FatigueLevel = 5; + if (!(this->fatiguelevel() <= 0 && this->fatiguelevel() >= 0)) { + total_size += 1 + 4; + } + + // uint32 HeartRate = 6; + if (this->heartrate() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt32Size( + this->_internal_heartrate()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleDriver::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleDriver) + GOOGLE_DCHECK_NE(&from, this); + const VehicleDriver* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleDriver>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleDriver) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleDriver) + MergeFrom(*source); + } +} + +void VehicleDriver::MergeFrom(const VehicleDriver& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleDriver) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_identifier()) { + _internal_mutable_identifier()->::com::vehicle::messages::VehicleDriverIdentifier::MergeFrom(from._internal_identifier()); + } + if (!(from.distractionlevel() <= 0 && from.distractionlevel() >= 0)) { + _internal_set_distractionlevel(from._internal_distractionlevel()); + } + if (from.iseyesonroad() != 0) { + _internal_set_iseyesonroad(from._internal_iseyesonroad()); + } + if (!(from.attentiveprobability() <= 0 && from.attentiveprobability() >= 0)) { + _internal_set_attentiveprobability(from._internal_attentiveprobability()); + } + if (!(from.fatiguelevel() <= 0 && from.fatiguelevel() >= 0)) { + _internal_set_fatiguelevel(from._internal_fatiguelevel()); + } + if (from.heartrate() != 0) { + _internal_set_heartrate(from._internal_heartrate()); + } +} + +void VehicleDriver::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleDriver) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleDriver::CopyFrom(const VehicleDriver& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleDriver) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleDriver::IsInitialized() const { + return true; +} + +void VehicleDriver::InternalSwap(VehicleDriver* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(identifier_, other->identifier_); + swap(distractionlevel_, other->distractionlevel_); + swap(iseyesonroad_, other->iseyesonroad_); + swap(attentiveprobability_, other->attentiveprobability_); + swap(fatiguelevel_, other->fatiguelevel_); + swap(heartrate_, other->heartrate_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleDriver::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleDriverIdentifier::InitAsDefaultInstance() { +} +class VehicleDriverIdentifier::_Internal { + public: +}; + +VehicleDriverIdentifier::VehicleDriverIdentifier() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleDriverIdentifier) +} +VehicleDriverIdentifier::VehicleDriverIdentifier(const VehicleDriverIdentifier& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_subject().empty()) { + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + if (!from._internal_issuer().empty()) { + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleDriverIdentifier) +} + +void VehicleDriverIdentifier::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto.base); + subject_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +VehicleDriverIdentifier::~VehicleDriverIdentifier() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleDriverIdentifier) + SharedDtor(); +} + +void VehicleDriverIdentifier::SharedDtor() { + subject_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); +} + +void VehicleDriverIdentifier::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleDriverIdentifier& VehicleDriverIdentifier::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleDriverIdentifier_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleDriverIdentifier::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleDriverIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + subject_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + issuer_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); + _internal_metadata_.Clear(); +} + +const char* VehicleDriverIdentifier::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // string Subject = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_subject(), ptr, ctx, "com.vehicle.messages.VehicleDriverIdentifier.Subject"); + CHK_(ptr); + } else goto handle_unusual; + continue; + // string Issuer = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 18)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(_internal_mutable_issuer(), ptr, ctx, "com.vehicle.messages.VehicleDriverIdentifier.Issuer"); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleDriverIdentifier::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleDriverIdentifier) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_subject().data(), static_cast<int>(this->_internal_subject().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleDriverIdentifier.Subject"); + target = stream->WriteStringMaybeAliased( + 1, this->_internal_subject(), target); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String( + this->_internal_issuer().data(), static_cast<int>(this->_internal_issuer().length()), + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::SERIALIZE, + "com.vehicle.messages.VehicleDriverIdentifier.Issuer"); + target = stream->WriteStringMaybeAliased( + 2, this->_internal_issuer(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleDriverIdentifier) + return target; +} + +size_t VehicleDriverIdentifier::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleDriverIdentifier) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // string Subject = 1; + if (this->subject().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_subject()); + } + + // string Issuer = 2; + if (this->issuer().size() > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::StringSize( + this->_internal_issuer()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleDriverIdentifier::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleDriverIdentifier) + GOOGLE_DCHECK_NE(&from, this); + const VehicleDriverIdentifier* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleDriverIdentifier>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleDriverIdentifier) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleDriverIdentifier) + MergeFrom(*source); + } +} + +void VehicleDriverIdentifier::MergeFrom(const VehicleDriverIdentifier& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleDriverIdentifier) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.subject().size() > 0) { + + subject_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.subject_); + } + if (from.issuer().size() > 0) { + + issuer_.AssignWithDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), from.issuer_); + } +} + +void VehicleDriverIdentifier::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleDriverIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleDriverIdentifier::CopyFrom(const VehicleDriverIdentifier& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleDriverIdentifier) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleDriverIdentifier::IsInitialized() const { + return true; +} + +void VehicleDriverIdentifier::InternalSwap(VehicleDriverIdentifier* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + subject_.Swap(&other->subject_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); + issuer_.Swap(&other->issuer_, &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), + GetArenaNoVirtual()); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleDriverIdentifier::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleExterior::InitAsDefaultInstance() { +} +class VehicleExterior::_Internal { + public: +}; + +VehicleExterior::VehicleExterior() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleExterior) +} +VehicleExterior::VehicleExterior(const VehicleExterior& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&airtemperature_, &from.airtemperature_, + static_cast<size_t>(reinterpret_cast<char*>(&lightintensity_) - + reinterpret_cast<char*>(&airtemperature_)) + sizeof(lightintensity_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleExterior) +} + +void VehicleExterior::SharedCtor() { + ::memset(&airtemperature_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&lightintensity_) - + reinterpret_cast<char*>(&airtemperature_)) + sizeof(lightintensity_)); +} + +VehicleExterior::~VehicleExterior() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleExterior) + SharedDtor(); +} + +void VehicleExterior::SharedDtor() { +} + +void VehicleExterior::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleExterior& VehicleExterior::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleExterior_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleExterior::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleExterior) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&airtemperature_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&lightintensity_) - + reinterpret_cast<char*>(&airtemperature_)) + sizeof(lightintensity_)); + _internal_metadata_.Clear(); +} + +const char* VehicleExterior::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // float AirTemperature = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 13)) { + airtemperature_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float Humidity = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + humidity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // float LightIntensity = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 29)) { + lightintensity_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleExterior::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleExterior) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // float AirTemperature = 1; + if (!(this->airtemperature() <= 0 && this->airtemperature() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(1, this->_internal_airtemperature(), target); + } + + // float Humidity = 2; + if (!(this->humidity() <= 0 && this->humidity() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_humidity(), target); + } + + // float LightIntensity = 3; + if (!(this->lightintensity() <= 0 && this->lightintensity() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(3, this->_internal_lightintensity(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleExterior) + return target; +} + +size_t VehicleExterior::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleExterior) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // float AirTemperature = 1; + if (!(this->airtemperature() <= 0 && this->airtemperature() >= 0)) { + total_size += 1 + 4; + } + + // float Humidity = 2; + if (!(this->humidity() <= 0 && this->humidity() >= 0)) { + total_size += 1 + 4; + } + + // float LightIntensity = 3; + if (!(this->lightintensity() <= 0 && this->lightintensity() >= 0)) { + total_size += 1 + 4; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleExterior::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleExterior) + GOOGLE_DCHECK_NE(&from, this); + const VehicleExterior* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleExterior>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleExterior) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleExterior) + MergeFrom(*source); + } +} + +void VehicleExterior::MergeFrom(const VehicleExterior& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleExterior) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (!(from.airtemperature() <= 0 && from.airtemperature() >= 0)) { + _internal_set_airtemperature(from._internal_airtemperature()); + } + if (!(from.humidity() <= 0 && from.humidity() >= 0)) { + _internal_set_humidity(from._internal_humidity()); + } + if (!(from.lightintensity() <= 0 && from.lightintensity() >= 0)) { + _internal_set_lightintensity(from._internal_lightintensity()); + } +} + +void VehicleExterior::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleExterior) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleExterior::CopyFrom(const VehicleExterior& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleExterior) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleExterior::IsInitialized() const { + return true; +} + +void VehicleExterior::InternalSwap(VehicleExterior* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(airtemperature_, other->airtemperature_); + swap(humidity_, other->humidity_); + swap(lightintensity_, other->lightintensity_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleExterior::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleService::InitAsDefaultInstance() { +} +class VehicleService::_Internal { + public: +}; + +VehicleService::VehicleService() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleService) +} +VehicleService::VehicleService(const VehicleService& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&isservicedue_, &from.isservicedue_, + static_cast<size_t>(reinterpret_cast<char*>(&timetoservice_) - + reinterpret_cast<char*>(&isservicedue_)) + sizeof(timetoservice_)); + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleService) +} + +void VehicleService::SharedCtor() { + ::memset(&isservicedue_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&timetoservice_) - + reinterpret_cast<char*>(&isservicedue_)) + sizeof(timetoservice_)); +} + +VehicleService::~VehicleService() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleService) + SharedDtor(); +} + +void VehicleService::SharedDtor() { +} + +void VehicleService::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleService& VehicleService::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleService_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleService::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleService) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&isservicedue_, 0, static_cast<size_t>( + reinterpret_cast<char*>(&timetoservice_) - + reinterpret_cast<char*>(&isservicedue_)) + sizeof(timetoservice_)); + _internal_metadata_.Clear(); +} + +const char* VehicleService::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsServiceDue = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isservicedue_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // float DistanceToService = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 21)) { + distancetoservice_ = ::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<float>(ptr); + ptr += sizeof(float); + } else goto handle_unusual; + continue; + // int32 TimeToService = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + timetoservice_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleService::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleService) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsServiceDue = 1; + if (this->isservicedue() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isservicedue(), target); + } + + // float DistanceToService = 2; + if (!(this->distancetoservice() <= 0 && this->distancetoservice() >= 0)) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteFloatToArray(2, this->_internal_distancetoservice(), target); + } + + // int32 TimeToService = 3; + if (this->timetoservice() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt32ToArray(3, this->_internal_timetoservice(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleService) + return target; +} + +size_t VehicleService::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleService) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsServiceDue = 1; + if (this->isservicedue() != 0) { + total_size += 1 + 1; + } + + // float DistanceToService = 2; + if (!(this->distancetoservice() <= 0 && this->distancetoservice() >= 0)) { + total_size += 1 + 4; + } + + // int32 TimeToService = 3; + if (this->timetoservice() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + this->_internal_timetoservice()); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleService::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleService) + GOOGLE_DCHECK_NE(&from, this); + const VehicleService* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleService>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleService) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleService) + MergeFrom(*source); + } +} + +void VehicleService::MergeFrom(const VehicleService& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleService) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isservicedue() != 0) { + _internal_set_isservicedue(from._internal_isservicedue()); + } + if (!(from.distancetoservice() <= 0 && from.distancetoservice() >= 0)) { + _internal_set_distancetoservice(from._internal_distancetoservice()); + } + if (from.timetoservice() != 0) { + _internal_set_timetoservice(from._internal_timetoservice()); + } +} + +void VehicleService::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleService) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleService::CopyFrom(const VehicleService& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleService) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleService::IsInitialized() const { + return true; +} + +void VehicleService::InternalSwap(VehicleService* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isservicedue_, other->isservicedue_); + swap(distancetoservice_, other->distancetoservice_); + swap(timetoservice_, other->timetoservice_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleService::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void VehicleConnectivity::InitAsDefaultInstance() { +} +class VehicleConnectivity::_Internal { + public: +}; + +VehicleConnectivity::VehicleConnectivity() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:com.vehicle.messages.VehicleConnectivity) +} +VehicleConnectivity::VehicleConnectivity(const VehicleConnectivity& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + isconnectivityavailable_ = from.isconnectivityavailable_; + // @@protoc_insertion_point(copy_constructor:com.vehicle.messages.VehicleConnectivity) +} + +void VehicleConnectivity::SharedCtor() { + isconnectivityavailable_ = false; +} + +VehicleConnectivity::~VehicleConnectivity() { + // @@protoc_insertion_point(destructor:com.vehicle.messages.VehicleConnectivity) + SharedDtor(); +} + +void VehicleConnectivity::SharedDtor() { +} + +void VehicleConnectivity::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const VehicleConnectivity& VehicleConnectivity::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_VehicleConnectivity_V2C_2fvspec_2eproto.base); + return *internal_default_instance(); +} + + +void VehicleConnectivity::Clear() { +// @@protoc_insertion_point(message_clear_start:com.vehicle.messages.VehicleConnectivity) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + isconnectivityavailable_ = false; + _internal_metadata_.Clear(); +} + +const char* VehicleConnectivity::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // bool IsConnectivityAvailable = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + isconnectivityavailable_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} + +::PROTOBUF_NAMESPACE_ID::uint8* VehicleConnectivity::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { + // @@protoc_insertion_point(serialize_to_array_start:com.vehicle.messages.VehicleConnectivity) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // bool IsConnectivityAvailable = 1; + if (this->isconnectivityavailable() != 0) { + stream->EnsureSpace(&target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(1, this->_internal_isconnectivityavailable(), target); + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::InternalSerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:com.vehicle.messages.VehicleConnectivity) + return target; +} + +size_t VehicleConnectivity::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:com.vehicle.messages.VehicleConnectivity) + size_t total_size = 0; + + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // bool IsConnectivityAvailable = 1; + if (this->isconnectivityavailable() != 0) { + total_size += 1 + 1; + } + + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { + return ::PROTOBUF_NAMESPACE_ID::internal::ComputeUnknownFieldsSize( + _internal_metadata_, total_size, &_cached_size_); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void VehicleConnectivity::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:com.vehicle.messages.VehicleConnectivity) + GOOGLE_DCHECK_NE(&from, this); + const VehicleConnectivity* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<VehicleConnectivity>( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:com.vehicle.messages.VehicleConnectivity) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:com.vehicle.messages.VehicleConnectivity) + MergeFrom(*source); + } +} + +void VehicleConnectivity::MergeFrom(const VehicleConnectivity& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:com.vehicle.messages.VehicleConnectivity) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.isconnectivityavailable() != 0) { + _internal_set_isconnectivityavailable(from._internal_isconnectivityavailable()); + } +} + +void VehicleConnectivity::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:com.vehicle.messages.VehicleConnectivity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void VehicleConnectivity::CopyFrom(const VehicleConnectivity& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:com.vehicle.messages.VehicleConnectivity) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool VehicleConnectivity::IsInitialized() const { + return true; +} + +void VehicleConnectivity::InternalSwap(VehicleConnectivity* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(isconnectivityavailable_, other->isconnectivityavailable_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata VehicleConnectivity::GetMetadata() const { + return GetMetadataStatic(); +} + + +// @@protoc_insertion_point(namespace_scope) +} // namespace messages +} // namespace vehicle +} // namespace com +PROTOBUF_NAMESPACE_OPEN +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::Vehicle* Arena::CreateMaybeMessage< ::com::vehicle::messages::Vehicle >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::Vehicle >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleVersionVSS* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleVersionVSS >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleVersionVSS >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleVehicleIdentification* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleVehicleIdentification >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleVehicleIdentification >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleLowVoltageBattery* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleLowVoltageBattery >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleLowVoltageBattery >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleAcceleration* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleAcceleration >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleAcceleration >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleAngularVelocity* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleAngularVelocity >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleAngularVelocity >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleTrailer* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleTrailer >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleTrailer >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCurrentLocation* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCurrentLocation >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCurrentLocation >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiver >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCurrentLocationGNSSReceiverMountingPosition >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrain* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrain >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrain >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainCombustionEngine* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainCombustionEngine >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainCombustionEngine >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselExhaustFluid >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainCombustionEngineDieselParticulateFilter >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTransmission* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTransmission >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTransmission >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainElectricMotor* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainElectricMotor >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainElectricMotor >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBattery* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBattery >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBattery >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryTemperature >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryStateOfCharge >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryCharging >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingMaximumChargingCurrent >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeCurrent >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingChargeVoltage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryChargingTimer >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainTractionBatteryDCDC >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehiclePowertrainFuelSystem* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehiclePowertrainFuelSystem >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehiclePowertrainFuelSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBody* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBody >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBody >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyHood* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyHood >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyHood >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyTrunk* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyTrunk >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyTrunk >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyTrunkFront* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyTrunkFront >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyTrunkFront >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyTrunkRear* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyTrunkRear >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyTrunkRear >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyHorn* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyHorn >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyHorn >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyRaindetection* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyRaindetection >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyRaindetection >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshield* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshield >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshield >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldFront* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldFront >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldFront >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldFrontWiping >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldFrontWipingSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldFrontWasherFluid >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldRear* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldRear >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldRear >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldRearWiping* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldRearWiping >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldRearWiping >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldRearWipingSystem >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyWindshieldRearWasherFluid >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLights* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLights >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLights >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsBeam* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsBeam >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsBeam >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsBeamLow* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsBeamLow >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsBeamLow >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsBeamHigh* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsBeamHigh >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsBeamHigh >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsRunning* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsRunning >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsRunning >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsBackup* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsBackup >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsBackup >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsParking* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsParking >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsParking >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsFog* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsFog >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsFog >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsFogRear* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsFogRear >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsFogRear >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsFogFront* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsFogFront >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsFogFront >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsLicensePlate* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsLicensePlate >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsLicensePlate >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsHazard* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsHazard >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsHazard >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicator >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyLightsDirectionIndicatorRight >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyMirrors* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyMirrors >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyMirrors >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyMirrorsLeft* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyMirrorsLeft >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyMirrorsLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleBodyMirrorsRight* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleBodyMirrorsRight >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleBodyMirrorsRight >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabin* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabin >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabin >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinRearShade* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinRearShade >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinRearShade >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVAC* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVAC >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVAC >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStation* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStation >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStation >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow1Left* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow1Left >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow1Left >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow1Right* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow1Right >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow1Right >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow2Left* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow2Left >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow2Left >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow2Right* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow2Right >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow2Right >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow3* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow3 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow3 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow3Left* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow3Left >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow3Left >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow3Right* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow3Right >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow3Right >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow4* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow4 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow4 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow4Left* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow4Left >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow4Left >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinHVACStationRow4Right* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinHVACStationRow4Right >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinHVACStationRow4Right >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainment* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainment >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainment >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainmentMedia* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainmentMedia >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainmentMedia >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainmentMediaPlayed >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainmentNavigation* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainmentNavigation >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainmentNavigation >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainmentNavigationDestinationSet >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainmentHMI* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainmentHMI >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainmentHMI >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinInfotainmentSmartphoneProjection >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSunroof* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSunroof >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSunroof >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSunroofShade* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSunroofShade >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSunroofShade >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinRearviewMirror* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinRearviewMirror >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinRearviewMirror >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinLights* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinLights >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinLights >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinLightsSpotlight* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinLightsSpotlight >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinLightsSpotlight >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow3 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinLightsSpotlightRow4 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoor* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoor >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoor >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1Left* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1Left >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1Left >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1LeftWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1LeftShade >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1Right* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1Right >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1Right >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1RightWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow1RightShade* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow1RightShade >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow1RightShade >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2Left* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2Left >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2Left >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2LeftWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2LeftShade >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2Right* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2Right >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2Right >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2RightWindow >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinDoorRow2RightShade* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinDoorRow2RightShade >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinDoorRow2RightShade >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeat* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeat >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeat >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos1SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos2SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow1Pos3SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos1SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos2SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Occupant >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3OccupantIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Backrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3BackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Seating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Headrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Airbag >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3Switch >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestLumbar >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchBackrestSideBolster >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchSeating >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchHeadrest >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinSeatRow2Pos3SwitchMassage >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleCabinConvertible* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleCabinConvertible >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleCabinConvertible >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADAS* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADAS >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADAS >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASCruiseControl* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASCruiseControl >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASCruiseControl >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASLaneDepartureDetection* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASLaneDepartureDetection >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASLaneDepartureDetection >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASObstacleDetection* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASObstacleDetection >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASObstacleDetection >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASABS* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASABS >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASABS >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASTCS* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASTCS >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASTCS >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASESC* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASESC >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASESC >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASESCRoadFriction* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASESCRoadFriction >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASESCRoadFriction >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASEBD* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASEBD >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASEBD >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleADASEBA* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleADASEBA >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleADASEBA >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassis* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassis >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassis >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxle* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxle >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxle >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1Wheel* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1Wheel >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1Wheel >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1WheelLeftTire >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRight >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow1WheelRightTire >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2Wheel* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2Wheel >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2Wheel >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeft >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2WheelLeftTire >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRight >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAxleRow2WheelRightTire >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisParkingBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisParkingBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisParkingBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisSteeringWheel* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisSteeringWheel >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisSteeringWheel >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisAccelerator* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisAccelerator >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisAccelerator >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleChassisBrake* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleChassisBrake >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleChassisBrake >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBD* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBD >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBD >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDStatus* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDStatus >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor3* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor3 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor3 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor4* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor4 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor4 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor5* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor5 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor5 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor6* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor6 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor6 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor7* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor7 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor7 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2Sensor8* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2Sensor8 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2Sensor8 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WR* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WR >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WR >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor3* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor3 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor3 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor4* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor4 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor4 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor5* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor5 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor5 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor6* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor6 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor6 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor7* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor7 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor7 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDO2WRSensor8* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDO2WRSensor8 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDO2WRSensor8 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDCatalyst* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDCatalyst >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDCatalyst >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDCatalystBank1* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDCatalystBank1 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDCatalystBank1 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDCatalystBank2* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDCatalystBank2 >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDCatalystBank2 >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleOBDDriveCycleStatus* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleOBDDriveCycleStatus >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleOBDDriveCycleStatus >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleDriver* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleDriver >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleDriver >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleDriverIdentifier* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleDriverIdentifier >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleDriverIdentifier >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleExterior* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleExterior >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleExterior >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleService* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleService >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleService >(arena); +} +template<> PROTOBUF_NOINLINE ::com::vehicle::messages::VehicleConnectivity* Arena::CreateMaybeMessage< ::com::vehicle::messages::VehicleConnectivity >(Arena* arena) { + return Arena::CreateInternal< ::com::vehicle::messages::VehicleConnectivity >(arena); +} +PROTOBUF_NAMESPACE_CLOSE + +// @@protoc_insertion_point(global_scope) +#include <google/protobuf/port_undef.inc> |